Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009342/0.009342, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4236/0.4236, allocations: 55.01 MB / 325.8 MB, free: 0.5625 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005656/0.0005656, allocations: 20 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3436, allocations: 60.71 MB / 458 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.001857/0.3455, allocations: 1.527 MB / 459.5 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002533/0.3458, allocations: 112.4 kB / 459.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.3459, allocations: 0 / 459.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.761e-05/0.346, allocations: 9.312 kB / 459.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.3461, allocations: 46.12 kB / 459.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.3462, allocations: 35.22 kB / 459.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3464, allocations: 164.3 kB / 459.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.912e-05/0.3465, allocations: 27.64 kB / 459.9 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.3466, allocations: 48.28 kB / 459.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.3467, allocations: 61.06 kB / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3467, allocations: 5.688 kB / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.3467, allocations: 5.438 kB / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.3467, allocations: 14.53 kB / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.3468, allocations: 92.19 kB / 460.1 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.3469, allocations: 124 kB / 460.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.347, allocations: 0 / 460.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.347, allocations: 0 / 460.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.347, allocations: 0.5625 kB / 460.2 MB, free: 38.08 MB / 382.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.0006407/0.3476, allocations: 442.1 kB / 460.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3477, allocations: 8.406 kB / 460.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.3477, allocations: 16.88 kB / 460.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3479, allocations: 199.5 kB / 460.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3479, allocations: 10.06 kB / 460.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3479, allocations: 13.44 kB / 460.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3482, allocations: 121.1 kB / 461 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3482, allocations: 5.031 kB / 461 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3482, allocations: 9.312 kB / 461 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3482, allocations: 0 / 461 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.3485, allocations: 109.8 kB / 461.1 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.3491, allocations: 484.5 kB / 461.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.3495, allocations: 136.4 kB / 461.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.3497, allocations: 69.52 kB / 461.8 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3497, allocations: 5.391 kB / 461.8 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3497, allocations: 35.94 kB / 461.9 MB, free: 36.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3497, allocations: 3.844 kB / 461.9 MB, free: 36.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005866/0.3503, allocations: 200.4 kB / 462.1 MB, free: 36.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3504, allocations: 80.2 kB / 462.1 MB, free: 36.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3505, allocations: 168.7 kB / 462.3 MB, free: 36.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.3505, allocations: 25.7 kB / 462.3 MB, free: 36.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.3506, allocations: 113.9 kB / 462.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3506, allocations: 29.16 kB / 462.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.3506, allocations: 16.19 kB / 462.5 MB, free: 36.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.3507, allocations: 328 kB / 462.8 MB, free: 36.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3508, allocations: 55.06 kB / 462.9 MB, free: 36.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.351, allocations: 68.17 kB / 462.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.3512, allocations: 117.7 kB / 463 MB, free: 36.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3512, allocations: 9.812 kB / 463 MB, free: 36.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003114/0.3516, allocations: 157.4 kB / 463.2 MB, free: 36.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3516, allocations: 5.906 kB / 463.2 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3516, allocations: 4 kB / 463.2 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3516, allocations: 0 / 463.2 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3518, allocations: 29.95 kB / 463.2 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.3518, allocations: 1.562 kB / 463.2 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.3519, allocations: 19.83 kB / 463.3 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3519, allocations: 10.75 kB / 463.3 MB, free: 36.15 MB / 382.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 7.528e-05/0.352, allocations: 122.3 kB / 463.4 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.3521, allocations: 15.09 kB / 463.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.3524, allocations: 175.1 kB / 463.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-06/0.3525, allocations: 0 / 463.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3525, allocations: 0.9375 kB / 463.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3525, allocations: 2.594 kB / 463.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.3527, allocations: 224.1 kB / 463.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3527, allocations: 0 / 463.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.3528, allocations: 23.83 kB / 463.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3528, allocations: 0 / 463.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3529, allocations: 7.531 kB / 463.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3529, allocations: 0.8438 kB / 463.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3529, allocations: 0 / 463.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.3532, allocations: 333.8 kB / 464.2 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.3533, allocations: 92.95 kB / 464.2 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3533, allocations: 1.781 kB / 464.2 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3535, allocations: 11.22 kB / 464.3 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.3535, allocations: 11.11 kB / 464.3 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.3536, allocations: 15.06 kB / 464.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.3536, allocations: 127.9 kB / 464.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3536, allocations: 0 / 464.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.3539, allocations: 28.09 kB / 464.4 MB, free: 35.38 MB / 382.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 6.828e-05/0.354, allocations: 94.25 kB / 464.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003403/0.3543, allocations: 120.4 kB / 464.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3543, allocations: 0 / 464.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.3545, allocations: 57.48 kB / 464.7 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.355, allocations: 50.45 kB / 464.7 MB, free: 35.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.3554, allocations: 274.3 kB / 465 MB, free: 35.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.3555, allocations: 0.7025 MB / 465.7 MB, free: 34.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.652e-05/0.3556, allocations: 16.77 kB / 465.7 MB, free: 34.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.3557, allocations: 10.56 kB / 465.7 MB, free: 34.38 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3557, allocations: 2.875 kB / 465.7 MB, free: 34.38 MB / 382.1 MB Notification: Performance of Templates: time 0.004201/0.3599, allocations: 1.909 MB / 467.7 MB, free: 34.29 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1) Environment - environmentSimulation: