Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.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.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001847, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002551/0.002551, allocations: 192 kB / 16.53 MB, free: 6.391 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.633/1.633, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4092/0.4092, allocations: 54.94 MB / 324.7 MB, free: 0 / 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.001946/0.001947, allocations: 67.91 kB / 395.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1704, allocations: 59.6 MB / 454.9 MB, free: 200 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.3118/0.4823, allocations: 3.118 MB / 458 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.4844, allocations: 1.041 MB / 459.1 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.4847, allocations: 13.69 kB / 459.1 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.485, allocations: 77.34 kB / 459.2 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.4853, allocations: 94.64 kB / 459.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.4858, allocations: 262.4 kB / 459.5 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004892/0.4863, allocations: 0.5638 MB / 460.1 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004145/0.4868, allocations: 251.5 kB / 460.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.487, allocations: 205.7 kB / 460.5 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.4872, allocations: 210.8 kB / 460.7 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.114e-05/0.4873, allocations: 51.94 kB / 460.8 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.4873, allocations: 52.84 kB / 460.8 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.4874, allocations: 115.9 kB / 461 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.4876, allocations: 240.1 kB / 461.2 MB, free: 37.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.4881, allocations: 0.5531 MB / 461.7 MB, free: 37.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4881, allocations: 3.938 kB / 461.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4881, allocations: 1.781 kB / 461.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4881, allocations: 0 / 461.7 MB, free: 37.27 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001195/0.4893, allocations: 0.7641 MB / 462.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4893, allocations: 12.06 kB / 462.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.438e-05/0.4894, allocations: 55.19 kB / 462.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.49, allocations: 422.8 kB / 463 MB, free: 36.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.49, allocations: 31.47 kB / 463 MB, free: 36.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.4901, allocations: 40.84 kB / 463.1 MB, free: 36.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/0.4907, allocations: 404.5 kB / 463.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.4907, allocations: 2.547 kB / 463.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.4907, allocations: 22.91 kB / 463.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4908, allocations: 9.031 kB / 463.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/0.4913, allocations: 261.9 kB / 463.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.4929, allocations: 1.332 MB / 465.1 MB, free: 35.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007102/0.4936, allocations: 309.4 kB / 465.4 MB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.4939, allocations: 135.4 kB / 465.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.4939, allocations: 6.438 kB / 465.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004499/0.4944, allocations: 175.2 kB / 465.7 MB, free: 34.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.956e-06/0.4944, allocations: 1.594 kB / 465.7 MB, free: 34.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008101/0.4952, allocations: 385.1 kB / 466.1 MB, free: 34.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.4953, allocations: 83.98 kB / 466.1 MB, free: 34.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.4957, allocations: 356.9 kB / 466.5 MB, free: 34.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.4957, allocations: 32.64 kB / 466.5 MB, free: 34.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.4959, allocations: 240 kB / 466.8 MB, free: 34.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.358e-05/0.496, allocations: 103.8 kB / 466.9 MB, free: 34.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4961, allocations: 69.14 kB / 466.9 MB, free: 33.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4962, allocations: 355.4 kB / 467.3 MB, free: 33.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.4965, allocations: 108 kB / 467.4 MB, free: 33.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.4967, allocations: 183.4 kB / 467.6 MB, free: 33.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.4971, allocations: 260.8 kB / 467.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.4971, allocations: 0.75 kB / 467.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005556/0.4977, allocations: 360.8 kB / 468.2 MB, free: 33.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4977, allocations: 5.219 kB / 468.2 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4977, allocations: 0.8438 kB / 468.2 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.4978, allocations: 5.375 kB / 468.2 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.498, allocations: 66.73 kB / 468.2 MB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4981, allocations: 2.812 kB / 468.3 MB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.4982, allocations: 42.5 kB / 468.3 MB, free: 33.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.4983, allocations: 12.22 kB / 468.3 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002633/0.4985, allocations: 223 kB / 468.5 MB, free: 32.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001818/0.4987, allocations: 167.8 kB / 468.7 MB, free: 32.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003198/0.4991, allocations: 246.2 kB / 468.9 MB, free: 32.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.4991, allocations: 1.969 kB / 468.9 MB, free: 32.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0004435/0.4995, allocations: 346.3 kB / 469.3 MB, free: 32.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/0.4995, allocations: 9.562 kB / 469.3 MB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.4995, allocations: 2.938 kB / 469.3 MB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.4996, allocations: 2.531 kB / 469.3 MB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.4998, allocations: 61.66 kB / 469.3 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4998, allocations: 6.75 kB / 469.3 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.5, allocations: 32.78 kB / 469.4 MB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.5, allocations: 22.8 kB / 469.4 MB, free: 32.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 0.000124/0.5001, allocations: 204.3 kB / 469.6 MB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.5002, allocations: 37.84 kB / 469.6 MB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.204e-05/0.5003, allocations: 42.53 kB / 469.7 MB, free: 32.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5003, allocations: 2.562 kB / 469.7 MB, free: 32.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.5003, allocations: 3.141 kB / 469.7 MB, free: 32.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.5003, allocations: 0 / 469.7 MB, free: 32.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009839/0.5013, allocations: 0.8249 MB / 470.5 MB, free: 31.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5013, allocations: 2.828 kB / 470.5 MB, free: 31.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.5016, allocations: 46.69 kB / 470.6 MB, free: 31.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5016, allocations: 3.781 kB / 470.6 MB, free: 31.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.5016, allocations: 7.422 kB / 470.6 MB, free: 31.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5016, allocations: 0 / 470.6 MB, free: 31.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5016, allocations: 8.312 kB / 470.6 MB, free: 31.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007255/0.5024, allocations: 0.5186 MB / 471.1 MB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.781e-05/0.5025, allocations: 130.8 kB / 471.2 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.5025, allocations: 12.53 kB / 471.2 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.5027, allocations: 15.91 kB / 471.3 MB, free: 31.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.5028, allocations: 32.66 kB / 471.3 MB, free: 31.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.5028, allocations: 11.19 kB / 471.3 MB, free: 31.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.503, allocations: 243.1 kB / 471.5 MB, free: 31.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.503, allocations: 0 / 471.5 MB, free: 31.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.5035, allocations: 157.5 kB / 471.7 MB, free: 31.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001414/0.5037, allocations: 107.1 kB / 471.8 MB, free: 31.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008323/0.5045, allocations: 430.2 kB / 472.2 MB, free: 30.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5045, allocations: 0 / 472.2 MB, free: 30.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.5048, allocations: 145.4 kB / 472.4 MB, free: 30.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.5053, allocations: 92.19 kB / 472.4 MB, free: 30.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.5067, allocations: 0.8175 MB / 473.3 MB, free: 30.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.507, allocations: 0.81 MB / 474.1 MB, free: 29.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002297/0.5072, allocations: 53.09 kB / 474.1 MB, free: 29.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-05/0.5073, allocations: 31.28 kB / 474.2 MB, free: 29.61 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5074, allocations: 0 / 474.2 MB, free: 29.61 MB / 382.1 MB Notification: Performance of Templates: time 0.008833/0.5162, allocations: 3.933 MB / 478.1 MB, free: 29.38 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)