Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_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.01404/0.01404, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.2 MB / 151 MB, free: 13.85 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.561/1.561, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.001124/0.001124, allocations: 94.81 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004345, allocations: 12 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5109, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.6709, allocations: 111.9 MB / 0.7588 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.6713, allocations: 75.95 kB / 0.7589 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005749/0.6771, allocations: 1.885 MB / 0.7608 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.136e-06/0.6771, allocations: 0 / 0.7608 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.6772, allocations: 4 kB / 0.7608 GB, free: 2.031 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.0008781/0.6781, allocations: 453.1 kB / 0.7612 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/0.6781, allocations: 8.031 kB / 0.7612 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.6782, allocations: 38.56 kB / 0.7612 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.6783, allocations: 15.81 kB / 0.7612 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.6786, allocations: 204.6 kB / 0.7614 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.6786, allocations: 4 kB / 0.7614 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.6786, allocations: 11.94 kB / 0.7615 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.679, allocations: 129.5 kB / 0.7616 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.679, allocations: 4 kB / 0.7616 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.6791, allocations: 4 kB / 0.7616 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.6791, allocations: 4 kB / 0.7616 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.6794, allocations: 111.9 kB / 0.7617 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.6803, allocations: 468.8 kB / 0.7621 GB, free: 460 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.6808, allocations: 141.3 kB / 0.7623 GB, free: 300 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.6808, allocations: 0 / 0.7623 GB, free: 300 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.6809, allocations: 38.56 kB / 0.7623 GB, free: 252 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.6809, allocations: 0 / 0.7623 GB, free: 252 kB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0006614/0.6815, allocations: 209.4 kB / 0.7625 GB, free: 36 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.6816, allocations: 77.11 kB / 0.7626 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.6818, allocations: 158 kB / 0.7627 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.6819, allocations: 29.7 kB / 0.7628 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.6819, allocations: 108.2 kB / 0.7629 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.682, allocations: 31.55 kB / 0.7629 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.682, allocations: 4 kB / 0.7629 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6821, allocations: 330.8 kB / 0.7632 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.6823, allocations: 43.97 kB / 0.7633 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.6824, allocations: 65.69 kB / 0.7633 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.6826, allocations: 60.41 kB / 0.7634 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6826, allocations: 0 / 0.7634 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003519/0.683, allocations: 161.4 kB / 0.7635 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.683, allocations: 4 kB / 0.7635 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.683, allocations: 4 kB / 0.7635 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.683, allocations: 0 / 0.7635 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.6832, allocations: 27.94 kB / 0.7636 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6832, allocations: 0 / 0.7636 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.6834, allocations: 23.89 kB / 0.7636 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.6834, allocations: 8 kB / 0.7636 GB, free: 14.86 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.0001083/0.6835, allocations: 117.8 kB / 0.7637 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.6835, allocations: 7.906 kB / 0.7637 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.684, allocations: 174.5 kB / 0.7639 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.684, allocations: 4 kB / 0.7639 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.684, allocations: 3.953 kB / 0.7639 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.684, allocations: 0 / 0.7639 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.6843, allocations: 233.5 kB / 0.7641 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6843, allocations: 0 / 0.7641 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.6845, allocations: 27.97 kB / 0.7641 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.6845, allocations: 0 / 0.7641 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.6845, allocations: 0 / 0.7641 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6845, allocations: 4 kB / 0.7642 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6845, allocations: 0 / 0.7642 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.685, allocations: 340.3 kB / 0.7645 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.685, allocations: 85.16 kB / 0.7646 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.6851, allocations: 11.98 kB / 0.7646 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.6852, allocations: 8.188 kB / 0.7646 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.6853, allocations: 23.92 kB / 0.7646 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.6853, allocations: 4 kB / 0.7646 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.6854, allocations: 128.7 kB / 0.7647 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6854, allocations: 0 / 0.7647 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002708/0.6857, allocations: 28 kB / 0.7648 GB, free: 13.57 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.0007645/0.6865, allocations: 0.9422 MB / 0.7657 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.6868, allocations: 119.9 kB / 0.7658 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6869, allocations: 0 / 0.7658 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.687, allocations: 63.91 kB / 0.7658 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.6874, allocations: 39.94 kB / 0.7659 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.689, allocations: 0.9743 MB / 0.7668 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.6893, allocations: 0.7087 MB / 0.7675 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.089e-05/0.6894, allocations: 12.64 kB / 0.7675 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.6895, allocations: 35.42 kB / 0.7676 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of SimCode: time 3.9e-07/0.6895, allocations: 4 kB / 0.7676 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.7047, allocations: 3.188 MB / 0.7707 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.705, allocations: 189.3 kB / 0.7709 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.537, allocations: 1.5 kB / 0.7709 GB, free: 7.312 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)