Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.859/0.859, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 64.75 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1216, allocations: 80.93 MB / 0.584 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002349/0.1239, allocations: 1.672 MB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1252, allocations: 1.14 MB / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.1253, allocations: 0 / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.1255, allocations: 27.92 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.1257, allocations: 51.81 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.126, allocations: 117.5 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1262, allocations: 225.6 kB / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.119e-05/0.1263, allocations: 27.88 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.1264, allocations: 67.89 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.1265, allocations: 87.77 kB / 0.5873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.1266, allocations: 16 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1267, allocations: 87.95 kB / 0.5874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.1268, allocations: 83.69 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.1269, allocations: 103.4 kB / 0.5876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.1271, allocations: 271.4 kB / 0.5879 GB, free: 0.793 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1271, allocations: 0 / 0.5879 GB, free: 0.793 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1271, allocations: 0 / 0.5879 GB, free: 0.793 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1272, allocations: 0 / 0.5879 GB, free: 0.793 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006011/0.1278, allocations: 0.5345 MB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.1278, allocations: 12.03 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.1278, allocations: 46.73 kB / 0.5884 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.1279, allocations: 28.59 kB / 0.5885 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1281, allocations: 263.8 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1282, allocations: 12.38 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1282, allocations: 12.38 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1285, allocations: 220.7 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1285, allocations: 0 / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1285, allocations: 4 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1285, allocations: 4 kB / 0.589 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.1292, allocations: 0.7373 MB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.1299, allocations: 0.5667 MB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.1303, allocations: 291.7 kB / 0.5905 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1304, allocations: 101.4 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.1305, allocations: 20.25 kB / 0.5906 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.1308, allocations: 180.8 kB / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.1308, allocations: 4 kB / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0005449/0.1313, allocations: 365.7 kB / 0.5911 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.1314, allocations: 132.5 kB / 0.5913 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.1316, allocations: 297.4 kB / 0.5916 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1316, allocations: 29.7 kB / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.1317, allocations: 124.7 kB / 0.5917 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.1318, allocations: 114.4 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.1319, allocations: 65.69 kB / 0.5919 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.132, allocations: 346.8 kB / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1321, allocations: 79.95 kB / 0.5923 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1322, allocations: 124.8 kB / 0.5924 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.1325, allocations: 218.5 kB / 0.5926 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1325, allocations: 8 kB / 0.5926 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003567/0.1329, allocations: 273.1 kB / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1329, allocations: 4 kB / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1329, allocations: 48 / 0.5929 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1329, allocations: 11.98 kB / 0.5929 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.1331, allocations: 59.91 kB / 0.5929 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1331, allocations: 0 / 0.5929 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.1333, allocations: 23.83 kB / 0.593 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.1333, allocations: 19.92 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.1334, allocations: 169.7 kB / 0.5932 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.1335, allocations: 23.72 kB / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005547/0.134, allocations: 380.4 kB / 0.5935 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.134, allocations: 4 kB / 0.5935 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1341, allocations: 3.938 kB / 0.5935 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1341, allocations: 3.984 kB / 0.5935 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.1343, allocations: 333.2 kB / 0.5939 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1343, allocations: 0 / 0.5939 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1345, allocations: 59.91 kB / 0.5939 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1345, allocations: 0 / 0.5939 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.1345, allocations: 19.98 kB / 0.5939 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1345, allocations: 0 / 0.5939 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1345, allocations: 0 / 0.5939 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.1349, allocations: 319.1 kB / 0.5942 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.135, allocations: 144.6 kB / 0.5944 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.135, allocations: 4 kB / 0.5944 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.1352, allocations: 19.98 kB / 0.5944 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.1352, allocations: 27.97 kB / 0.5944 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1353, allocations: 15.98 kB / 0.5944 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001582/0.1354, allocations: 237.5 kB / 0.5947 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1354, allocations: 0 / 0.5947 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002409/0.1357, allocations: 56 kB / 0.5947 GB, free: 9.355 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.1369, allocations: 1.16 MB / 0.5959 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.1373, allocations: 295.7 kB / 0.5961 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1374, allocations: 0 / 0.5961 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.1375, allocations: 128.4 kB / 0.5963 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1377, allocations: 35.05 kB / 0.5963 GB, free: 7.887 MB / 0.4981 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.1401, allocations: 2.51 MB / 0.5988 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1403, allocations: 0.7581 MB / 0.5995 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002653/0.1406, allocations: 142.9 kB / 0.5996 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1407, allocations: 87.39 kB / 0.5997 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1407, allocations: 0 / 0.5997 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 17.47/17.61, allocations: 5.307 MB / 0.6049 GB, free: 52.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/17.61, allocations: 263.3 kB / 0.6051 GB, free: 52.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/19.4, allocations: 1.266 kB / 0.6051 GB, free: 52.23 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)