Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_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.007353/0.007353, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8075/0.8075, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 223.2 MB / 406.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 98.77 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004681, allocations: 12 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5102, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.6749, allocations: 111.9 MB / 0.7588 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.6752, allocations: 79.95 kB / 0.7589 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005378/0.6806, allocations: 1.889 MB / 0.7608 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6807, allocations: 0 / 0.7608 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.6807, allocations: 4 kB / 0.7608 GB, free: 2.09 MB / 0.5261 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.0006733/0.6814, allocations: 446.7 kB / 0.7612 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.6814, allocations: 12.03 kB / 0.7612 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.6815, allocations: 34.56 kB / 0.7612 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.6815, allocations: 15.81 kB / 0.7612 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.6818, allocations: 200.6 kB / 0.7614 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.6818, allocations: 7.938 kB / 0.7614 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.6818, allocations: 11.94 kB / 0.7615 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.6821, allocations: 133.5 kB / 0.7616 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6821, allocations: 4 kB / 0.7616 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.6822, allocations: 0 / 0.7616 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.6822, allocations: 4 kB / 0.7616 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.6825, allocations: 119.8 kB / 0.7617 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007814/0.6833, allocations: 468.8 kB / 0.7622 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.6837, allocations: 133.3 kB / 0.7623 GB, free: 364 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.6837, allocations: 4 kB / 0.7623 GB, free: 360 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.6837, allocations: 38.56 kB / 0.7623 GB, free: 312 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.6837, allocations: 0 / 0.7623 GB, free: 312 kB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0005942/0.6843, allocations: 205.4 kB / 0.7625 GB, free: 100 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.6844, allocations: 81.11 kB / 0.7626 GB, free: 0 / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.6846, allocations: 154 kB / 0.7627 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.6846, allocations: 29.7 kB / 0.7628 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.6847, allocations: 116.2 kB / 0.7629 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.6848, allocations: 35.61 kB / 0.7629 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.6848, allocations: 0 / 0.7629 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.6849, allocations: 330.8 kB / 0.7632 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.6851, allocations: 43.97 kB / 0.7633 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.6852, allocations: 65.69 kB / 0.7633 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.6854, allocations: 55.97 kB / 0.7634 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6854, allocations: 0 / 0.7634 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003565/0.6858, allocations: 157.5 kB / 0.7635 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.6858, allocations: 4 kB / 0.7635 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6858, allocations: 0 / 0.7635 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.6858, allocations: 4 kB / 0.7635 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.686, allocations: 31.94 kB / 0.7636 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.686, allocations: 0 / 0.7636 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.6862, allocations: 19.89 kB / 0.7636 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.6862, allocations: 0 / 0.7636 GB, free: 14.93 MB / 0.5417 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 () * 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 0.0001032/0.6863, allocations: 121.8 kB / 0.7637 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.6863, allocations: 15.89 kB / 0.7637 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.6868, allocations: 171 kB / 0.7639 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6868, allocations: 4.188 kB / 0.7639 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.6868, allocations: 7.953 kB / 0.7639 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6868, allocations: 3.938 kB / 0.7639 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.6871, allocations: 225.4 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6872, allocations: 7.984 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.6873, allocations: 23.98 kB / 0.7641 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6873, allocations: 0 / 0.7641 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.6873, allocations: 0 / 0.7641 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6874, allocations: 0 / 0.7641 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6874, allocations: 4 kB / 0.7642 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.6878, allocations: 336.3 kB / 0.7645 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.6879, allocations: 97.14 kB / 0.7646 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.6879, allocations: 4 kB / 0.7646 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.6881, allocations: 11.98 kB / 0.7646 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.6881, allocations: 11.94 kB / 0.7646 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.6882, allocations: 4 kB / 0.7646 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001142/0.6883, allocations: 136.7 kB / 0.7647 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6883, allocations: 0 / 0.7647 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002781/0.6886, allocations: 28 kB / 0.7648 GB, free: 13.63 MB / 0.5417 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 () * 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.0007642/0.6893, allocations: 0.9304 MB / 0.7657 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003416/0.6897, allocations: 123.9 kB / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6897, allocations: 0 / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.6899, allocations: 59.91 kB / 0.7658 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.6902, allocations: 48.05 kB / 0.7659 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.6918, allocations: 0.9743 MB / 0.7668 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.6921, allocations: 0.7087 MB / 0.7675 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.296e-05/0.6922, allocations: 16.64 kB / 0.7675 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.6923, allocations: 35.42 kB / 0.7676 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of SimCode: time 3.5e-07/0.6923, allocations: 0 / 0.7676 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.7067, allocations: 3.186 MB / 0.7707 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.707, allocations: 185.2 kB / 0.7709 GB, free: 7.375 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.496, allocations: 0 / 0.7709 GB, free: 7.375 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)