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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5903/0.5903, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.3 MB / 348.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008839, allocations: 104.5 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.138e-05, allocations: 4 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3881, allocations: 72.29 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.5125, allocations: 102.1 MB / 0.66 GB, free: 2.215 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5127, allocations: 83.94 kB / 0.6601 GB, free: 2.133 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005421/0.5182, allocations: 1.894 MB / 0.6619 GB, free: 264 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5182, allocations: 0.75 kB / 0.6619 GB, free: 264 kB / 474.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.5182, allocations: 0 / 0.6619 GB, free: 264 kB / 474.7 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.0006032/0.5188, allocations: 422.1 kB / 0.6623 GB, free: 15.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.5189, allocations: 15.98 kB / 0.6623 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.5189, allocations: 42.5 kB / 0.6624 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.519, allocations: 15.81 kB / 0.6624 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.5193, allocations: 202.8 kB / 0.6626 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.5193, allocations: 4 kB / 0.6626 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.5193, allocations: 17.28 kB / 0.6626 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.5196, allocations: 101.1 kB / 0.6627 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5196, allocations: 0 / 0.6627 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.5196, allocations: 4 kB / 0.6627 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.5196, allocations: 7.953 kB / 0.6627 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.5198, allocations: 63.92 kB / 0.6628 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.5206, allocations: 472.7 kB / 0.6632 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.5209, allocations: 109.3 kB / 0.6633 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.521, allocations: 45.72 kB / 0.6634 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.5211, allocations: 8.125 kB / 0.6634 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.5211, allocations: 38.5 kB / 0.6634 GB, free: 14.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.5211, allocations: 0 / 0.6634 GB, free: 14.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002865/0.5214, allocations: 109.5 kB / 0.6635 GB, free: 14.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.5214, allocations: 77.11 kB / 0.6636 GB, free: 14.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.5216, allocations: 165.8 kB / 0.6638 GB, free: 14.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.5216, allocations: 25.7 kB / 0.6638 GB, free: 14.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.5217, allocations: 116.2 kB / 0.6639 GB, free: 14.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.5217, allocations: 27.56 kB / 0.6639 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.5218, allocations: 0 / 0.6639 GB, free: 13.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5219, allocations: 322.8 kB / 0.6642 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.5219, allocations: 28 kB / 0.6643 GB, free: 13.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.522, allocations: 41.7 kB / 0.6643 GB, free: 13.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.381e-05/0.5221, allocations: 24 kB / 0.6643 GB, free: 13.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5221, allocations: 0 / 0.6643 GB, free: 13.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.5223, allocations: 121.5 kB / 0.6644 GB, free: 13.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5223, allocations: 4 kB / 0.6644 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5223, allocations: 3.984 kB / 0.6644 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5224, allocations: 4 kB / 0.6644 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.5225, allocations: 23.98 kB / 0.6645 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.5225, allocations: 0 / 0.6645 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.5227, allocations: 23.89 kB / 0.6645 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.5227, allocations: 0 / 0.6645 GB, free: 13.38 MB / 490.7 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 () * 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.063e-05/0.5228, allocations: 116.9 kB / 0.6646 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.5228, allocations: 11.86 kB / 0.6646 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.5231, allocations: 126.6 kB / 0.6647 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5231, allocations: 3.984 kB / 0.6647 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5231, allocations: 3.938 kB / 0.6647 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5232, allocations: 4 kB / 0.6647 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.5234, allocations: 221.6 kB / 0.665 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5235, allocations: 0 / 0.665 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.5236, allocations: 23.98 kB / 0.665 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5236, allocations: 8.203 kB / 0.665 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.5237, allocations: 4 kB / 0.665 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5237, allocations: 4 kB / 0.665 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5237, allocations: 0 / 0.665 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.5239, allocations: 293.5 kB / 0.6653 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.524, allocations: 92.88 kB / 0.6654 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.524, allocations: 4 kB / 0.6654 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.5242, allocations: 11.98 kB / 0.6654 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.5243, allocations: 7.984 kB / 0.6654 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.5243, allocations: 8 kB / 0.6654 GB, free: 12.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.173e-05/0.5244, allocations: 123.3 kB / 0.6655 GB, free: 12.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5244, allocations: 0 / 0.6655 GB, free: 12.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.5247, allocations: 28 kB / 0.6655 GB, free: 12.2 MB / 490.7 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 () * 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.0005353/0.5252, allocations: 0.8989 MB / 0.6664 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.5254, allocations: 64 kB / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5254, allocations: 0 / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.5255, allocations: 39.94 kB / 0.6665 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.5258, allocations: 43.73 kB / 0.6666 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.5264, allocations: 191.9 kB / 0.6667 GB, free: 10.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.5267, allocations: 0.7087 MB / 0.6674 GB, free: 10.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.5268, allocations: 16.89 kB / 0.6674 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.709e-05/0.5269, allocations: 43.36 kB / 0.6675 GB, free: 10.11 MB / 490.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5269, allocations: 0 / 0.6675 GB, free: 10.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.5404, allocations: 3.193 MB / 0.6706 GB, free: 7.125 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.5406, allocations: 166.8 kB / 0.6708 GB, free: 6.902 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.238, allocations: 6.109 kB / 0.6708 GB, free: 6.898 MB / 490.7 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)