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.001397/0.001397, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002285/0.002285, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.725/1.725, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4406/0.4406, allocations: 54.92 MB / 324.4 MB, free: 52 kB / 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.001328/0.001329, allocations: 63.91 kB / 394.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1389, allocations: 59.59 MB / 454.5 MB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.2539/0.3928, allocations: 1.868 MB / 456.4 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002915/0.3931, allocations: 114 kB / 456.5 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3933, allocations: 4.188 kB / 456.5 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.3935, allocations: 9.516 kB / 456.5 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.3936, allocations: 53.33 kB / 456.5 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.3937, allocations: 23.19 kB / 456.6 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.3939, allocations: 171.1 kB / 456.7 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3941, allocations: 27.48 kB / 456.7 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.3941, allocations: 59.23 kB / 456.8 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.3942, allocations: 68.67 kB / 456.9 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.3943, allocations: 10.56 kB / 456.9 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.3943, allocations: 9.938 kB / 456.9 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.3943, allocations: 26.59 kB / 456.9 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.3944, allocations: 62.36 kB / 457 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.3946, allocations: 125.9 kB / 457.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3946, allocations: 2.875 kB / 457.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3946, allocations: 0 / 457.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3946, allocations: 0 / 457.1 MB, free: 38.61 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.000653/0.3952, allocations: 447.9 kB / 457.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3953, allocations: 11.69 kB / 457.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3953, allocations: 14.34 kB / 457.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.3955, allocations: 209 kB / 457.8 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3955, allocations: 8.422 kB / 457.8 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.3955, allocations: 9.875 kB / 457.8 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.3958, allocations: 122 kB / 457.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3958, allocations: 192 / 457.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3959, allocations: 4.844 kB / 457.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3959, allocations: 2.781 kB / 457.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.3961, allocations: 95.83 kB / 458 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.3967, allocations: 484.1 kB / 458.5 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.3971, allocations: 126.2 kB / 458.6 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.3972, allocations: 61.75 kB / 458.7 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3973, allocations: 0 / 458.7 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.3973, allocations: 41.89 kB / 458.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.3973, allocations: 1.906 kB / 458.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005395/0.3978, allocations: 178 kB / 458.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.3979, allocations: 78.08 kB / 459 MB, free: 37.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.398, allocations: 170 kB / 459.1 MB, free: 37.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.398, allocations: 25.7 kB / 459.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.3981, allocations: 110.8 kB / 459.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3981, allocations: 34.22 kB / 459.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3982, allocations: 22.16 kB / 459.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.3982, allocations: 329 kB / 459.6 MB, free: 36.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3984, allocations: 41.39 kB / 459.7 MB, free: 36.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3985, allocations: 56.42 kB / 459.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.3988, allocations: 109.7 kB / 459.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3988, allocations: 4.031 kB / 459.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002863/0.3991, allocations: 148.1 kB / 460 MB, free: 36.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3991, allocations: 5.906 kB / 460 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3991, allocations: 0 / 460 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3991, allocations: 0.625 kB / 460 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.3993, allocations: 29.62 kB / 460 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3993, allocations: 2.594 kB / 460 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.3994, allocations: 14.08 kB / 460 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3994, allocations: 7.75 kB / 460 MB, free: 36.71 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 6.773e-05/0.3995, allocations: 120.8 kB / 460.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.3996, allocations: 17.03 kB / 460.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.4, allocations: 155.4 kB / 460.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4, allocations: 2.75 kB / 460.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4, allocations: 3.844 kB / 460.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.4, allocations: 2.844 kB / 460.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.4003, allocations: 218.8 kB / 460.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4003, allocations: 0 / 460.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.4004, allocations: 24.28 kB / 460.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4004, allocations: 0.5156 kB / 460.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4005, allocations: 0 / 460.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4005, allocations: 3.844 kB / 460.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4005, allocations: 2.625 kB / 460.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.4008, allocations: 313.2 kB / 460.9 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.4009, allocations: 100.5 kB / 461 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.401, allocations: 3.281 kB / 461 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.4011, allocations: 9 kB / 461 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.4012, allocations: 11.84 kB / 461 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4012, allocations: 9.844 kB / 461 MB, free: 36.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.615e-05/0.4013, allocations: 128.7 kB / 461.1 MB, free: 35.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4013, allocations: 0 / 461.1 MB, free: 35.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.4016, allocations: 25.72 kB / 461.2 MB, free: 35.97 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 0.0001309/0.4018, allocations: 101.9 kB / 461.3 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.4022, allocations: 104.8 kB / 461.4 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.4022, allocations: 0 / 461.4 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.4023, allocations: 58.5 kB / 461.4 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.4029, allocations: 46.27 kB / 461.5 MB, free: 35.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.4035, allocations: 276.7 kB / 461.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.4037, allocations: 0.7016 MB / 462.4 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.4038, allocations: 13.45 kB / 462.5 MB, free: 34.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.4039, allocations: 12.94 kB / 462.5 MB, free: 34.97 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4039, allocations: 0 / 462.5 MB, free: 34.97 MB / 382.1 MB Notification: Performance of Templates: time 0.005391/0.4093, allocations: 2.013 MB / 464.5 MB, free: 34.88 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (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)