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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00699/0.00699, allocations: 109.8 kB / 15.74 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 196 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.89 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4315, allocations: 80.91 MB / 0.6646 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002552/0.4341, allocations: 1.823 MB / 0.6664 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002619/0.4344, allocations: 119.1 kB / 0.6665 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.4345, allocations: 1.25 kB / 0.6665 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.861e-05/0.4346, allocations: 15.8 kB / 0.6665 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.287e-05/0.4347, allocations: 46.25 kB / 0.6666 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.4348, allocations: 39.39 kB / 0.6666 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.435, allocations: 172.3 kB / 0.6668 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4352, allocations: 33.59 kB / 0.6668 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.4352, allocations: 49.58 kB / 0.6668 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.4353, allocations: 68.53 kB / 0.6669 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.4354, allocations: 10.31 kB / 0.6669 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.823e-05/0.4354, allocations: 9.625 kB / 0.6669 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.4354, allocations: 22.39 kB / 0.6669 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.4355, allocations: 70.81 kB / 0.667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.4357, allocations: 131.6 kB / 0.6671 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4357, allocations: 1.219 kB / 0.6671 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4357, allocations: 0 / 0.6671 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4357, allocations: 0 / 0.6671 GB, free: 5.602 MB / 0.4981 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.0007078/0.4364, allocations: 455.3 kB / 0.6676 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4365, allocations: 8.719 kB / 0.6676 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.4365, allocations: 20.03 kB / 0.6676 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.4368, allocations: 206.8 kB / 0.6678 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.4368, allocations: 3.375 kB / 0.6678 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4368, allocations: 8.312 kB / 0.6678 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.4371, allocations: 118.4 kB / 0.6679 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.4371, allocations: 4.188 kB / 0.6679 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.4371, allocations: 9.094 kB / 0.6679 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4371, allocations: 1.094 kB / 0.6679 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.4374, allocations: 87.94 kB / 0.668 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.438, allocations: 484.5 kB / 0.6685 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.4383, allocations: 127.7 kB / 0.6686 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.4384, allocations: 58.25 kB / 0.6687 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.4385, allocations: 5.375 kB / 0.6687 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.4385, allocations: 35.73 kB / 0.6687 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.4385, allocations: 0 / 0.6687 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005081/0.439, allocations: 177.9 kB / 0.6689 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.4391, allocations: 86.42 kB / 0.6689 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.4392, allocations: 169.4 kB / 0.6691 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.4392, allocations: 27.05 kB / 0.6691 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.4392, allocations: 108.3 kB / 0.6692 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.4393, allocations: 31.27 kB / 0.6693 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.4393, allocations: 28.5 kB / 0.6693 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.4394, allocations: 325.9 kB / 0.6696 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.4395, allocations: 46.12 kB / 0.6697 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.4396, allocations: 60.48 kB / 0.6697 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.4399, allocations: 98.36 kB / 0.6698 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4399, allocations: 0 / 0.6698 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000289/0.4402, allocations: 150.1 kB / 0.6699 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4402, allocations: 4.938 kB / 0.67 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4402, allocations: 5.469 kB / 0.67 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4402, allocations: 5.547 kB / 0.67 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.4404, allocations: 20.33 kB / 0.67 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4404, allocations: 5.312 kB / 0.67 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.4405, allocations: 14.55 kB / 0.67 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.4405, allocations: 6.188 kB / 0.67 GB, free: 3.062 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.4406, allocations: 124 kB / 0.6701 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.4406, allocations: 14.19 kB / 0.6701 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.441, allocations: 153.3 kB / 0.6703 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.441, allocations: 5.234 kB / 0.6703 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.441, allocations: 1.906 kB / 0.6703 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.441, allocations: 4.234 kB / 0.6703 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.4412, allocations: 223.6 kB / 0.6705 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4412, allocations: 1.188 kB / 0.6705 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.4414, allocations: 19.61 kB / 0.6705 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4414, allocations: 5.297 kB / 0.6705 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4414, allocations: 1.094 kB / 0.6705 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4414, allocations: 1.188 kB / 0.6705 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4414, allocations: 1.375 kB / 0.6705 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.4417, allocations: 320 kB / 0.6708 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.4417, allocations: 85.39 kB / 0.6709 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.4418, allocations: 5.656 kB / 0.6709 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.4419, allocations: 9.516 kB / 0.6709 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.442, allocations: 18.83 kB / 0.671 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.442, allocations: 14.19 kB / 0.671 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.964e-05/0.4421, allocations: 128.7 kB / 0.6711 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4421, allocations: 0 / 0.6711 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002734/0.4424, allocations: 32.84 kB / 0.6711 GB, free: 2.066 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.937e-05/0.4424, allocations: 94.66 kB / 0.6712 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.4428, allocations: 105.9 kB / 0.6713 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4428, allocations: 5.25 kB / 0.6713 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.4429, allocations: 55.06 kB / 0.6714 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.4433, allocations: 42.53 kB / 0.6714 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.4438, allocations: 238.1 kB / 0.6716 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.4439, allocations: 0.7018 MB / 0.6723 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.309e-05/0.444, allocations: 15.03 kB / 0.6723 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.4441, allocations: 21.52 kB / 0.6724 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.4441, allocations: 0 / 0.6724 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of Templates: time 0.005554/0.4496, allocations: 2.101 MB / 0.6744 GB, free: 15.93 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)