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.0008636/0.0008636, allocations: 93.19 kB / 16.02 MB, free: 84 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.0009258/0.0009258, allocations: 182.3 kB / 16.92 MB, free: 6.688 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.219/1.219, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6466/0.6466, allocations: 115.5 MB / 407.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002739, allocations: 11.94 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001583/0.1183, allocations: 1.52 MB / 0.5615 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002116/0.1185, allocations: 115.6 kB / 0.5616 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.1186, allocations: 0 / 0.5616 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.666e-05/0.1187, allocations: 15.92 kB / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.054e-05/0.1188, allocations: 47.61 kB / 0.5617 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.862e-05/0.1189, allocations: 31.91 kB / 0.5617 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1191, allocations: 163.1 kB / 0.5619 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.1192, allocations: 29.05 kB / 0.5619 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.1192, allocations: 47.86 kB / 0.562 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.616e-05/0.1193, allocations: 67.67 kB / 0.562 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.1194, allocations: 4 kB / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.239e-05/0.1194, allocations: 4 kB / 0.562 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.1194, allocations: 23.86 kB / 0.562 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.1195, allocations: 73.44 kB / 0.5621 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.1196, allocations: 119.8 kB / 0.5622 GB, free: 6.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1196, allocations: 0 / 0.5622 GB, free: 6.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1196, allocations: 0 / 0.5622 GB, free: 6.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1196, allocations: 4 kB / 0.5622 GB, free: 6.68 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.0006234/0.1203, allocations: 442.9 kB / 0.5627 GB, free: 6.195 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1203, allocations: 16.03 kB / 0.5627 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.1204, allocations: 38.73 kB / 0.5627 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.1204, allocations: 12.84 kB / 0.5627 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1206, allocations: 209.5 kB / 0.5629 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1206, allocations: 4.375 kB / 0.5629 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1206, allocations: 8.375 kB / 0.5629 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.1209, allocations: 127.8 kB / 0.5631 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1209, allocations: 3.938 kB / 0.5631 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1209, allocations: 4 kB / 0.5631 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1209, allocations: 4 kB / 0.5631 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.1212, allocations: 107.9 kB / 0.5632 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.1219, allocations: 476.7 kB / 0.5636 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.1222, allocations: 141.2 kB / 0.5638 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.1224, allocations: 69.78 kB / 0.5638 GB, free: 4.863 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1224, allocations: 3.938 kB / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.1225, allocations: 34.56 kB / 0.5639 GB, free: 4.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1225, allocations: 0 / 0.5639 GB, free: 4.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005642/0.123, allocations: 209.3 kB / 0.5641 GB, free: 4.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1231, allocations: 77.11 kB / 0.5641 GB, free: 4.512 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1232, allocations: 175.3 kB / 0.5643 GB, free: 4.332 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1232, allocations: 25.7 kB / 0.5643 GB, free: 4.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.1233, allocations: 108.1 kB / 0.5644 GB, free: 4.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1233, allocations: 27.55 kB / 0.5645 GB, free: 4.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1234, allocations: 17.72 kB / 0.5645 GB, free: 4.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.1235, allocations: 326.8 kB / 0.5648 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.1236, allocations: 51.97 kB / 0.5648 GB, free: 3.762 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1238, allocations: 69.61 kB / 0.5649 GB, free: 3.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.1241, allocations: 121.9 kB / 0.565 GB, free: 3.562 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1241, allocations: 0 / 0.565 GB, free: 3.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003563/0.1245, allocations: 165.4 kB / 0.5652 GB, free: 3.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.1245, allocations: 4 kB / 0.5652 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1245, allocations: 0 / 0.5652 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.1245, allocations: 0 / 0.5652 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1247, allocations: 35.91 kB / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1247, allocations: 0 / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1248, allocations: 23.84 kB / 0.5652 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1248, allocations: 4 kB / 0.5652 GB, free: 3.328 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.1249, allocations: 117.8 kB / 0.5654 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.125, allocations: 11.91 kB / 0.5654 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.1254, allocations: 170.5 kB / 0.5655 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1254, allocations: 0 / 0.5655 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1254, allocations: 0 / 0.5655 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1254, allocations: 11.92 kB / 0.5655 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.1257, allocations: 221.5 kB / 0.5657 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1257, allocations: 4 kB / 0.5658 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1258, allocations: 23.98 kB / 0.5658 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1258, allocations: 0 / 0.5658 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1259, allocations: 8 kB / 0.5658 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1259, allocations: 192 / 0.5658 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1259, allocations: 7.938 kB / 0.5658 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.1263, allocations: 326.5 kB / 0.5661 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.1263, allocations: 92.92 kB / 0.5662 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1263, allocations: 3.938 kB / 0.5662 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1265, allocations: 19.98 kB / 0.5662 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.1266, allocations: 15.92 kB / 0.5662 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1266, allocations: 0 / 0.5662 GB, free: 2.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.374e-05/0.1267, allocations: 125.5 kB / 0.5663 GB, free: 2.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1267, allocations: 288 / 0.5663 GB, free: 2.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.127, allocations: 28 kB / 0.5664 GB, free: 2.07 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 (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.0006042/0.1276, allocations: 0.8561 MB / 0.5672 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.1279, allocations: 115.9 kB / 0.5673 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1279, allocations: 4 kB / 0.5673 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1281, allocations: 63.91 kB / 0.5674 GB, free: 1.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1285, allocations: 40.22 kB / 0.5674 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.1306, allocations: 1.897 MB / 0.5693 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.1308, allocations: 0.7087 MB / 0.57 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.43e-05/0.1309, allocations: 8.438 kB / 0.57 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.924e-05/0.1309, allocations: 43.42 kB / 0.57 GB, free: 14.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1309, allocations: 0 / 0.57 GB, free: 14.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6013/0.7322, allocations: 3.228 MB / 0.5732 GB, free: 11.17 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.7325, allocations: 222.3 kB / 0.5734 GB, free: 10.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.249, allocations: 0 / 0.5734 GB, free: 10.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/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)