Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00117/0.00117, allocations: 107.4 kB / 17.04 MB, free: 6.055 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.001173/0.001173, allocations: 196 kB / 17.98 MB, free: 5.141 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.331/1.331, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.729/0.729, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 55.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3485, allocations: 76.14 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002578/0.3511, allocations: 1.81 MB / 0.5593 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002553/0.3513, allocations: 126.2 kB / 0.5594 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.3514, allocations: 1.219 kB / 0.5594 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.546e-05/0.3515, allocations: 22.17 kB / 0.5595 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.078e-05/0.3516, allocations: 48.91 kB / 0.5595 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.3518, allocations: 37.41 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3519, allocations: 176.8 kB / 0.5597 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3521, allocations: 25.62 kB / 0.5597 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.3521, allocations: 57.16 kB / 0.5598 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3522, allocations: 67.09 kB / 0.5599 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.3523, allocations: 9.844 kB / 0.5599 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.57e-05/0.3523, allocations: 12.34 kB / 0.5599 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.3523, allocations: 24.5 kB / 0.5599 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.3524, allocations: 65.36 kB / 0.56 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.3526, allocations: 126.2 kB / 0.5601 GB, free: 35.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3526, allocations: 1.25 kB / 0.5601 GB, free: 35.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3526, allocations: 0.75 kB / 0.5601 GB, free: 35.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3526, allocations: 0 / 0.5601 GB, free: 35.09 MB / 446.1 MB 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.0006775/0.3533, allocations: 455.4 kB / 0.5605 GB, free: 34.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3533, allocations: 10.7 kB / 0.5605 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.3534, allocations: 13.88 kB / 0.5605 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3536, allocations: 206.6 kB / 0.5607 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3536, allocations: 8.375 kB / 0.5607 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3536, allocations: 5.469 kB / 0.5608 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.3539, allocations: 125.7 kB / 0.5609 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3539, allocations: 192 / 0.5609 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3539, allocations: 5.156 kB / 0.5609 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.354, allocations: 2.125 kB / 0.5609 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.3543, allocations: 96.08 kB / 0.561 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.3549, allocations: 477.4 kB / 0.5614 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.3552, allocations: 129.5 kB / 0.5616 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.3554, allocations: 61.38 kB / 0.5616 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3554, allocations: 6.125 kB / 0.5616 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.3554, allocations: 37.33 kB / 0.5617 GB, free: 33.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.953e-06/0.3555, allocations: 0.5625 kB / 0.5617 GB, free: 33.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005474/0.356, allocations: 179.3 kB / 0.5618 GB, free: 33.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.356, allocations: 81.17 kB / 0.5619 GB, free: 33.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3562, allocations: 169.1 kB / 0.5621 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.3562, allocations: 26.7 kB / 0.5621 GB, free: 33.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.3562, allocations: 109.5 kB / 0.5622 GB, free: 33.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.3563, allocations: 29.95 kB / 0.5622 GB, free: 33.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.3563, allocations: 22.89 kB / 0.5622 GB, free: 33.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.74e-05/0.3564, allocations: 330.6 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3565, allocations: 38.88 kB / 0.5626 GB, free: 32.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3566, allocations: 65.95 kB / 0.5627 GB, free: 32.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.3569, allocations: 106.4 kB / 0.5628 GB, free: 32.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3569, allocations: 2.094 kB / 0.5628 GB, free: 32.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003234/0.3573, allocations: 151.4 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3573, allocations: 5.562 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3573, allocations: 1.156 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3573, allocations: 1.344 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.3575, allocations: 23.41 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.3575, allocations: 1.188 kB / 0.5629 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.3576, allocations: 19.62 kB / 0.563 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3576, allocations: 6.5 kB / 0.563 GB, free: 32.82 MB / 446.1 MB 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.673e-05/0.3577, allocations: 119.8 kB / 0.5631 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.3578, allocations: 15.55 kB / 0.5631 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.3582, allocations: 160.2 kB / 0.5632 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3582, allocations: 2.828 kB / 0.5632 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3582, allocations: 1.344 kB / 0.5632 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3582, allocations: 1.531 kB / 0.5632 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.3585, allocations: 220.8 kB / 0.5635 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.3585, allocations: 1.281 kB / 0.5635 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.3586, allocations: 22.2 kB / 0.5635 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3586, allocations: 0.7031 kB / 0.5635 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3586, allocations: 6.562 kB / 0.5635 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3586, allocations: 1.812 kB / 0.5635 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3587, allocations: 1.312 kB / 0.5635 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.359, allocations: 320.2 kB / 0.5638 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.359, allocations: 90.34 kB / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3591, allocations: 2.266 kB / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.3593, allocations: 9.062 kB / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.3593, allocations: 11.47 kB / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3593, allocations: 6.469 kB / 0.5639 GB, free: 32.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.454e-05/0.3594, allocations: 123.6 kB / 0.564 GB, free: 31.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3594, allocations: 0.8438 kB / 0.564 GB, free: 31.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.3597, allocations: 33.44 kB / 0.5641 GB, free: 31.95 MB / 446.1 MB 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.537e-05/0.3598, allocations: 104.4 kB / 0.5642 GB, free: 31.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.3601, allocations: 106.1 kB / 0.5643 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3601, allocations: 0 / 0.5643 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3603, allocations: 53.44 kB / 0.5643 GB, free: 31.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.3607, allocations: 44.91 kB / 0.5644 GB, free: 31.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.3612, allocations: 232.5 kB / 0.5646 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3613, allocations: 0.7069 MB / 0.5653 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.594e-05/0.3614, allocations: 12.78 kB / 0.5653 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.3615, allocations: 14.25 kB / 0.5653 GB, free: 30.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3615, allocations: 1.531 kB / 0.5653 GB, free: 30.92 MB / 446.1 MB Notification: Performance of Templates: time 0.004988/0.3665, allocations: 2.096 MB / 0.5673 GB, free: 30.84 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)