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.001425/0.001425, allocations: 174.7 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.754/0.754, 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.689/1.689, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.001059/0.001059, allocations: 89.39 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.911e-05/4.913e-05, allocations: 5.516 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1959, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7067/0.9026, allocations: 111.9 MB / 0.7498 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.9028, allocations: 73.84 kB / 0.7498 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005472/0.9083, allocations: 1.88 MB / 0.7517 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9084, allocations: 0 / 0.7517 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.9084, allocations: 4.859 kB / 0.7517 GB, free: 27.61 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.0006741/0.9091, allocations: 427.6 kB / 0.7521 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.9091, allocations: 7.719 kB / 0.7521 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.927e-05/0.9092, allocations: 44.95 kB / 0.7521 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.9093, allocations: 11.59 kB / 0.7521 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.9096, allocations: 210.9 kB / 0.7523 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.9096, allocations: 7.531 kB / 0.7523 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.9096, allocations: 7.469 kB / 0.7523 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.9098, allocations: 93.81 kB / 0.7524 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.9099, allocations: 1.859 kB / 0.7524 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.9099, allocations: 3.688 kB / 0.7524 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.9099, allocations: 0 / 0.7524 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.91, allocations: 75.14 kB / 0.7525 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.9108, allocations: 476.8 kB / 0.753 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.9111, allocations: 115 kB / 0.7531 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.9112, allocations: 47.19 kB / 0.7531 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.9113, allocations: 0 / 0.7531 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.9113, allocations: 34.41 kB / 0.7532 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.9113, allocations: 4 kB / 0.7532 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0003288/0.9116, allocations: 111.6 kB / 0.7533 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.9117, allocations: 77.11 kB / 0.7533 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.9119, allocations: 148.5 kB / 0.7535 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.9119, allocations: 28.89 kB / 0.7535 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.912, allocations: 109.1 kB / 0.7536 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.912, allocations: 26.42 kB / 0.7536 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/0.912, allocations: 2.688 kB / 0.7536 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.9122, allocations: 331.2 kB / 0.754 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.9123, allocations: 21.22 kB / 0.754 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.9123, allocations: 39.98 kB / 0.754 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.298e-05/0.9124, allocations: 29.2 kB / 0.754 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9124, allocations: 0 / 0.754 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002016/0.9126, allocations: 119.6 kB / 0.7542 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.9126, allocations: 7.688 kB / 0.7542 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9127, allocations: 0.7031 kB / 0.7542 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.9127, allocations: 3.953 kB / 0.7542 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.9128, allocations: 30.41 kB / 0.7542 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.9129, allocations: 3.938 kB / 0.7542 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.913, allocations: 17.72 kB / 0.7542 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.913, allocations: 3.875 kB / 0.7542 GB, free: 25.67 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.0001042/0.9131, allocations: 113.5 kB / 0.7543 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.9132, allocations: 11.08 kB / 0.7543 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.9135, allocations: 128.3 kB / 0.7545 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.9135, allocations: 3.844 kB / 0.7545 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9135, allocations: 3.953 kB / 0.7545 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.9135, allocations: 0 / 0.7545 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.9138, allocations: 226 kB / 0.7547 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9138, allocations: 0 / 0.7547 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.9139, allocations: 24.66 kB / 0.7547 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.9139, allocations: 4 kB / 0.7547 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.914, allocations: 7.875 kB / 0.7547 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.914, allocations: 0 / 0.7547 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.914, allocations: 0 / 0.7547 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.9143, allocations: 289 kB / 0.755 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.9143, allocations: 94.47 kB / 0.7551 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.9143, allocations: 4 kB / 0.7551 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.9145, allocations: 10.89 kB / 0.7551 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.9146, allocations: 18.14 kB / 0.7551 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.9146, allocations: 7.844 kB / 0.7551 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.213e-05/0.9147, allocations: 131 kB / 0.7553 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9147, allocations: 0 / 0.7553 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002497/0.915, allocations: 29.41 kB / 0.7553 GB, free: 24.88 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.0006295/0.9156, allocations: 0.8844 MB / 0.7561 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.9158, allocations: 76.14 kB / 0.7562 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.9158, allocations: 0 / 0.7562 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.9159, allocations: 44 kB / 0.7563 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.9162, allocations: 45.75 kB / 0.7563 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.9168, allocations: 192.3 kB / 0.7565 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.9171, allocations: 0.7124 MB / 0.7572 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.491e-05/0.9172, allocations: 11.3 kB / 0.7572 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.9173, allocations: 36.98 kB / 0.7572 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of SimCode: time 3.5e-07/0.9173, allocations: 0 / 0.7572 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.9331, allocations: 3.181 MB / 0.7603 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.9333, allocations: 164 kB / 0.7605 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.645, allocations: 0 / 0.7605 GB, free: 22.41 MB / 0.5105 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)