Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 289.9 MB / 297.4 MB, free: 6.434 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001827/0.001828, allocations: 172.8 kB / 366.7 MB, free: 1.703 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.2 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008391/0.000839, allocations: 87 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.794e-05, allocations: 0 / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.5995, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.8006, allocations: 138.9 MB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.8009, allocations: 67.97 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006495/0.8074, allocations: 1.841 MB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.858e-06/0.8075, allocations: 0 / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.8075, allocations: 7.938 kB / 1.111 GB, free: 9.375 MB / 0.7136 GB 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.0006361/0.8081, allocations: 426.1 kB / 1.111 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.8082, allocations: 8.031 kB / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.8083, allocations: 15.91 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.8085, allocations: 212 kB / 1.111 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.8086, allocations: 4 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.8086, allocations: 4 kB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001601/0.8088, allocations: 55.98 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.8089, allocations: 95.31 kB / 1.112 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.809, allocations: 0 / 1.112 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.809, allocations: 0 / 1.112 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.809, allocations: 4 kB / 1.112 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.8098, allocations: 445.3 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.81, allocations: 105.3 kB / 1.112 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.8101, allocations: 45.72 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.8102, allocations: 0 / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.8102, allocations: 38.5 kB / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.8102, allocations: 0 / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003017/0.8105, allocations: 100.7 kB / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.8106, allocations: 85.06 kB / 1.112 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.8107, allocations: 144.8 kB / 1.113 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.8108, allocations: 25.7 kB / 1.113 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.8108, allocations: 104 kB / 1.113 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.8109, allocations: 27.56 kB / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.8109, allocations: 0 / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.811, allocations: 326.8 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.8111, allocations: 27.94 kB / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.029e-05/0.8112, allocations: 45.7 kB / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.8113, allocations: 26.94 kB / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.8113, allocations: 0 / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.8115, allocations: 105.5 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.8115, allocations: 4 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8115, allocations: 3.938 kB / 1.113 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8115, allocations: 0 / 1.113 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.8117, allocations: 31.98 kB / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.8117, allocations: 2.109 kB / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.8119, allocations: 19.22 kB / 1.113 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.8119, allocations: 8 kB / 1.113 GB, free: 6.664 MB / 0.7136 GB 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.27e-05/0.812, allocations: 104.9 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002009/0.8122, allocations: 101.4 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.8122, allocations: 11.91 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.8125, allocations: 123.2 kB / 1.114 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.8125, allocations: 2.062 kB / 1.114 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.8125, allocations: 3.953 kB / 1.114 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8125, allocations: 0 / 1.114 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.8128, allocations: 197.9 kB / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8128, allocations: 0 / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.813, allocations: 23.98 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.813, allocations: 8 kB / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.813, allocations: 0 / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.813, allocations: 0 / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.813, allocations: 0 / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.8133, allocations: 291 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.8133, allocations: 85.02 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.8134, allocations: 0 / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.8135, allocations: 15.98 kB / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.8136, allocations: 14.44 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.8136, allocations: 8 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.809e-05/0.8137, allocations: 116.2 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8137, allocations: 3.938 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003027/0.814, allocations: 31.84 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB 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.0006287/0.8147, allocations: 0.8759 MB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.8149, allocations: 63.98 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8149, allocations: 0 / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.815, allocations: 35.94 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.8153, allocations: 41.66 kB / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.8159, allocations: 178.9 kB / 1.115 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.8163, allocations: 0.7119 MB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000103/0.8164, allocations: 16.77 kB / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.8165, allocations: 31.44 kB / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8165, allocations: 0 / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.8388, allocations: 2.661 MB / 1.119 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/0.8392, allocations: 151 kB / 1.119 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.413, allocations: 1.219 kB / 1.119 GB, free: 0.6758 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)