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.001682/0.001682, allocations: 174.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.181/1.181, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.173/2.173, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.001281/0.001281, allocations: 98.2 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.55e-05, allocations: 0 / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5233/0.5233, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.675, allocations: 111.2 MB / 0.7425 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.6753, allocations: 67.97 kB / 0.7426 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005346/0.6806, allocations: 1.877 MB / 0.7444 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6807, allocations: 4 kB / 0.7444 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.6807, allocations: 0 / 0.7444 GB, free: 9.523 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.0006808/0.6814, allocations: 422.1 kB / 0.7448 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/0.6815, allocations: 12.03 kB / 0.7448 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.6815, allocations: 11.91 kB / 0.7448 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.6818, allocations: 208.6 kB / 0.745 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.6819, allocations: 4 kB / 0.745 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.6819, allocations: 7.984 kB / 0.7451 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001618/0.6821, allocations: 59.88 kB / 0.7451 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.6823, allocations: 93.06 kB / 0.7452 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6823, allocations: 0 / 0.7452 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.6823, allocations: 0 / 0.7452 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6823, allocations: 4 kB / 0.7452 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.6831, allocations: 445.3 kB / 0.7456 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.6834, allocations: 105.3 kB / 0.7457 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.913e-05/0.6835, allocations: 45.75 kB / 0.7458 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.6835, allocations: 0 / 0.7458 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.6836, allocations: 38.56 kB / 0.7458 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.6836, allocations: 4 kB / 0.7458 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002684/0.6839, allocations: 97.62 kB / 0.7459 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.6839, allocations: 85.05 kB / 0.746 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.6841, allocations: 136.6 kB / 0.7461 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.6841, allocations: 25.7 kB / 0.7461 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.6842, allocations: 111.9 kB / 0.7463 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.6843, allocations: 27.64 kB / 0.7463 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.6843, allocations: 0 / 0.7463 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6844, allocations: 322.8 kB / 0.7466 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.6845, allocations: 28 kB / 0.7466 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.6846, allocations: 41.66 kB / 0.7467 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.528e-05/0.6846, allocations: 32.05 kB / 0.7467 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6847, allocations: 0 / 0.7467 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000184/0.6848, allocations: 109.4 kB / 0.7468 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.6849, allocations: 5.875 kB / 0.7468 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.6849, allocations: 0 / 0.7468 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6849, allocations: 0 / 0.7468 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.6851, allocations: 27.98 kB / 0.7468 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6851, allocations: 4 kB / 0.7468 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.6852, allocations: 15.94 kB / 0.7468 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.6852, allocations: 7.984 kB / 0.7468 GB, free: 6.805 MB / 0.5261 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 9.087e-05/0.6853, allocations: 108.9 kB / 0.747 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001922/0.6855, allocations: 101.5 kB / 0.747 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.6856, allocations: 15.91 kB / 0.7471 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.6859, allocations: 115.2 kB / 0.7472 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.6859, allocations: 7.953 kB / 0.7472 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6859, allocations: 0 / 0.7472 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6859, allocations: 192 / 0.7472 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.6862, allocations: 194.1 kB / 0.7474 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6862, allocations: 3.938 kB / 0.7474 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.6864, allocations: 28.23 kB / 0.7474 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.6864, allocations: 0 / 0.7474 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.6864, allocations: 8 kB / 0.7474 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6864, allocations: 3.938 kB / 0.7474 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6864, allocations: 0 / 0.7474 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.6867, allocations: 284.5 kB / 0.7477 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.6868, allocations: 92.91 kB / 0.7478 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.6868, allocations: 7.938 kB / 0.7478 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.687, allocations: 11.98 kB / 0.7478 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.687, allocations: 11.94 kB / 0.7478 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.687, allocations: 0 / 0.7478 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.26e-05/0.6871, allocations: 120.9 kB / 0.7479 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6872, allocations: 0 / 0.7479 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003289/0.6875, allocations: 27.94 kB / 0.7479 GB, free: 5.586 MB / 0.5261 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.000673/0.6882, allocations: 0.8759 MB / 0.7488 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.6884, allocations: 67.94 kB / 0.7489 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6884, allocations: 3.938 kB / 0.7489 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.24e-05/0.6885, allocations: 40 kB / 0.7489 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.689, allocations: 41.77 kB / 0.7489 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/0.6897, allocations: 179.9 kB / 0.7491 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.6901, allocations: 0.7119 MB / 0.7498 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.6902, allocations: 12.55 kB / 0.7498 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.6903, allocations: 35.42 kB / 0.7499 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/0.6903, allocations: 0 / 0.7499 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.716, allocations: 2.647 MB / 0.7524 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/0.7163, allocations: 146.3 kB / 0.7526 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.347, allocations: 1.125 kB / 0.7526 GB, free: 0.7461 MB / 0.5261 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)