Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.0008954/0.0008954, allocations: 96.42 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008438/0.0008438, allocations: 174.8 kB / 16.57 MB, free: 6.398 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.177/1.177, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6071/0.6071, allocations: 113.7 MB / 405.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001393/0.1333, allocations: 1.442 MB / 0.5581 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.1335, allocations: 127.7 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.1336, allocations: 0 / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.1336, allocations: 11.86 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.1337, allocations: 51.88 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.866e-05/0.1338, allocations: 35.89 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.134, allocations: 119.8 kB / 0.5585 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.082e-05/0.1341, allocations: 13.12 kB / 0.5585 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.1341, allocations: 55.77 kB / 0.5585 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.1342, allocations: 59.77 kB / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1342, allocations: 4 kB / 0.5586 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.1343, allocations: 4 kB / 0.5586 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.1343, allocations: 23.91 kB / 0.5586 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.1343, allocations: 45.64 kB / 0.5586 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.062e-05/0.1344, allocations: 76.08 kB / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1344, allocations: 0 / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1344, allocations: 0 / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1344, allocations: 0 / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005838/0.135, allocations: 450.7 kB / 0.5592 GB, free: 9.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1351, allocations: 8.031 kB / 0.5592 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.1351, allocations: 42.55 kB / 0.5592 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.1351, allocations: 7.906 kB / 0.5592 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.1353, allocations: 203.5 kB / 0.5594 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1353, allocations: 4 kB / 0.5594 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1353, allocations: 7.938 kB / 0.5594 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.1356, allocations: 127.3 kB / 0.5595 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1356, allocations: 0 / 0.5595 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1356, allocations: 8 kB / 0.5595 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1356, allocations: 0 / 0.5595 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.1359, allocations: 115.8 kB / 0.5597 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.1365, allocations: 476.6 kB / 0.5601 GB, free: 8.055 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.1369, allocations: 141.3 kB / 0.5602 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1369, allocations: 8.062 kB / 0.5602 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.137, allocations: 34.64 kB / 0.5603 GB, free: 7.848 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.137, allocations: 0 / 0.5603 GB, free: 7.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005293/0.1375, allocations: 205.4 kB / 0.5605 GB, free: 7.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1376, allocations: 77.11 kB / 0.5606 GB, free: 7.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1377, allocations: 170.8 kB / 0.5607 GB, free: 7.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1377, allocations: 29.7 kB / 0.5607 GB, free: 7.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.1378, allocations: 108.2 kB / 0.5608 GB, free: 7.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1378, allocations: 31.55 kB / 0.5609 GB, free: 7.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.1379, allocations: 4 kB / 0.5609 GB, free: 7.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.138, allocations: 326.8 kB / 0.5612 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1381, allocations: 51.97 kB / 0.5612 GB, free: 6.809 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1382, allocations: 57.69 kB / 0.5613 GB, free: 6.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.1384, allocations: 59.97 kB / 0.5614 GB, free: 6.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1384, allocations: 0 / 0.5614 GB, free: 6.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003141/0.1387, allocations: 161.6 kB / 0.5615 GB, free: 6.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1387, allocations: 8 kB / 0.5615 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1387, allocations: 4 kB / 0.5615 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1388, allocations: 0 / 0.5615 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1389, allocations: 27.97 kB / 0.5615 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1389, allocations: 4 kB / 0.5616 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.139, allocations: 11.98 kB / 0.5616 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.139, allocations: 11.98 kB / 0.5616 GB, free: 6.457 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.353e-05/0.1391, allocations: 125.7 kB / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.1392, allocations: 15.81 kB / 0.5617 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.1396, allocations: 170.5 kB / 0.5619 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1396, allocations: 0 / 0.5619 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1396, allocations: 0 / 0.5619 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1396, allocations: 3.984 kB / 0.5619 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.1398, allocations: 229.4 kB / 0.5621 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1399, allocations: 0 / 0.5621 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.14, allocations: 23.98 kB / 0.5621 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.14, allocations: 0 / 0.5621 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.14, allocations: 8.188 kB / 0.5621 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.14, allocations: 0 / 0.5621 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.14, allocations: 3.938 kB / 0.5621 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.1404, allocations: 344.3 kB / 0.5625 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.1405, allocations: 88.92 kB / 0.5625 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1405, allocations: 0 / 0.5625 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1407, allocations: 11.98 kB / 0.5626 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.1407, allocations: 15.98 kB / 0.5626 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1407, allocations: 4 kB / 0.5626 GB, free: 5.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.725e-05/0.1408, allocations: 121.5 kB / 0.5627 GB, free: 5.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1408, allocations: 3.938 kB / 0.5627 GB, free: 5.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1411, allocations: 28 kB / 0.5627 GB, free: 5.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000636/0.1417, allocations: 0.943 MB / 0.5636 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.1421, allocations: 115.9 kB / 0.5637 GB, free: 4.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1421, allocations: 0 / 0.5637 GB, free: 4.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.1423, allocations: 67.91 kB / 0.5638 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1426, allocations: 43.59 kB / 0.5639 GB, free: 3.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.144, allocations: 0.9905 MB / 0.5648 GB, free: 2.938 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1443, allocations: 0.7126 MB / 0.5655 GB, free: 2.199 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.525e-05/0.1443, allocations: 12.44 kB / 0.5655 GB, free: 2.188 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.1444, allocations: 39.42 kB / 0.5656 GB, free: 2.148 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1444, allocations: 0 / 0.5656 GB, free: 2.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.1581, allocations: 3.203 MB / 0.5687 GB, free: 15.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.1584, allocations: 193.8 kB / 0.5689 GB, free: 14.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/1.716, allocations: 0 / 0.5689 GB, free: 14.91 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: