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.001734/0.001734, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8646/0.8646, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.865/1.865, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 90.77 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.703e-05, allocations: 1.438 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1954, allocations: 82.31 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7005/0.896, allocations: 111.9 MB / 0.7498 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.8964, allocations: 71.41 kB / 0.7498 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008217/0.9046, allocations: 1.893 MB / 0.7517 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9046, allocations: 0 / 0.7517 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.9047, allocations: 3.844 kB / 0.7517 GB, free: 27.41 MB / 0.5105 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.0008406/0.9055, allocations: 423.4 kB / 0.7521 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/0.9056, allocations: 7.688 kB / 0.7521 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.82e-05/0.9057, allocations: 41.11 kB / 0.7521 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.9058, allocations: 15.31 kB / 0.7521 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.9061, allocations: 208.5 kB / 0.7523 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.9061, allocations: 7.406 kB / 0.7523 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.9062, allocations: 3.844 kB / 0.7523 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.9065, allocations: 101.1 kB / 0.7524 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.9065, allocations: 1.641 kB / 0.7524 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.9065, allocations: 6.875 kB / 0.7525 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.9066, allocations: 3.969 kB / 0.7525 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.9068, allocations: 60.22 kB / 0.7525 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.9078, allocations: 479.3 kB / 0.753 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.9082, allocations: 103 kB / 0.7531 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.9084, allocations: 47.03 kB / 0.7531 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.9085, allocations: 14.38 kB / 0.7531 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.9085, allocations: 38.25 kB / 0.7532 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.9085, allocations: 0 / 0.7532 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0004189/0.909, allocations: 109.3 kB / 0.7533 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.909, allocations: 81.08 kB / 0.7533 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.9093, allocations: 143.5 kB / 0.7535 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.9093, allocations: 25.7 kB / 0.7535 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.9094, allocations: 118 kB / 0.7536 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.9095, allocations: 29.81 kB / 0.7536 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.9095, allocations: 0 / 0.7536 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.9097, allocations: 324.3 kB / 0.754 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-05/0.9098, allocations: 28.91 kB / 0.754 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.677e-05/0.91, allocations: 40.66 kB / 0.754 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.862e-05/0.9101, allocations: 28.77 kB / 0.7541 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9101, allocations: 0 / 0.7541 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003027/0.9104, allocations: 116 kB / 0.7542 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.9104, allocations: 11.53 kB / 0.7542 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.9105, allocations: 0 / 0.7542 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.9105, allocations: 3.953 kB / 0.7542 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.9108, allocations: 32.53 kB / 0.7542 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.9108, allocations: 0.7812 kB / 0.7542 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.911, allocations: 18.23 kB / 0.7542 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.9111, allocations: 3.938 kB / 0.7542 GB, free: 25.48 MB / 0.5105 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 0.0001423/0.9112, allocations: 108.5 kB / 0.7543 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.9113, allocations: 11.59 kB / 0.7543 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.9118, allocations: 126.6 kB / 0.7545 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.9118, allocations: 4.031 kB / 0.7545 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.9118, allocations: 7.859 kB / 0.7545 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.9118, allocations: 2.672 kB / 0.7545 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.9123, allocations: 221.9 kB / 0.7547 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.9123, allocations: 256 / 0.7547 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.9126, allocations: 28.2 kB / 0.7547 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.9126, allocations: 0 / 0.7547 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.9126, allocations: 3.938 kB / 0.7547 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9126, allocations: 0 / 0.7547 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9126, allocations: 0 / 0.7547 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.913, allocations: 295.9 kB / 0.755 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.9131, allocations: 92.48 kB / 0.7551 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.9132, allocations: 0 / 0.7551 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.9135, allocations: 12.17 kB / 0.7551 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.9135, allocations: 17.31 kB / 0.7551 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.9136, allocations: 4.188 kB / 0.7551 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001531/0.9137, allocations: 135 kB / 0.7553 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.576e-06/0.9138, allocations: 0 / 0.7553 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004879/0.9142, allocations: 37.38 kB / 0.7553 GB, free: 24.67 MB / 0.5105 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.0008561/0.9151, allocations: 0.8855 MB / 0.7562 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.9154, allocations: 70.48 kB / 0.7562 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9154, allocations: 0 / 0.7562 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.9156, allocations: 41.78 kB / 0.7563 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.9161, allocations: 40.03 kB / 0.7563 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/0.917, allocations: 192.3 kB / 0.7565 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.9175, allocations: 0.7081 MB / 0.7572 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000146/0.9176, allocations: 11.44 kB / 0.7572 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.9177, allocations: 36.22 kB / 0.7572 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.9177, allocations: 0 / 0.7572 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.9376, allocations: 3.195 MB / 0.7603 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.9379, allocations: 160.8 kB / 0.7605 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.812, allocations: 4 kB / 0.7605 GB, free: 22.27 MB / 0.5105 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)