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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.2825/0.2825, allocations: 54.34 MB / 66.9 MB, free: 6.098 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001202/0.001203, allocations: 173.4 kB / 80.7 MB, free: 15.38 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.739/1.739, allocations: 194.2 MB / 288.6 MB, free: 15.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001603/0.001603, allocations: 104.6 kB / 346.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.362e-05, allocations: 8 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1343, allocations: 57.64 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4421/0.5765, allocations: 93.19 MB / 0.55 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.5768, allocations: 79.95 kB / 0.5501 GB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01933/0.5961, allocations: 7.563 MB / 0.5575 GB, free: 5.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.171e-06/0.5962, allocations: 5.969 kB / 0.5575 GB, free: 5.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.559e-05/0.5962, allocations: 11.94 kB / 0.5575 GB, free: 5.578 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001051/0.5973, allocations: 0.6482 MB / 0.5581 GB, free: 4.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5973, allocations: 8.031 kB / 0.5581 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.5974, allocations: 55.44 kB / 0.5582 GB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.5981, allocations: 400.1 kB / 0.5586 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.5982, allocations: 28.78 kB / 0.5586 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.5983, allocations: 39.95 kB / 0.5586 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.5989, allocations: 399.2 kB / 0.559 GB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.599, allocations: 0 / 0.559 GB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.599, allocations: 19.98 kB / 0.559 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.599, allocations: 8 kB / 0.559 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.5995, allocations: 251 kB / 0.5593 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.6014, allocations: 1.374 MB / 0.5606 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.602, allocations: 307.2 kB / 0.5609 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.6022, allocations: 137.3 kB / 0.561 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.6022, allocations: 11.94 kB / 0.5611 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.6025, allocations: 169.5 kB / 0.5612 GB, free: 1.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.6026, allocations: 0 / 0.5612 GB, free: 1.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004953/0.6031, allocations: 278.8 kB / 0.5615 GB, free: 1.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.6032, allocations: 136.5 kB / 0.5616 GB, free: 1.098 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.6035, allocations: 311.5 kB / 0.5619 GB, free: 0.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.6036, allocations: 41.7 kB / 0.5619 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.6037, allocations: 236.7 kB / 0.5622 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.6039, allocations: 98.55 kB / 0.5623 GB, free: 424 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.6039, allocations: 8 kB / 0.5623 GB, free: 416 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.6041, allocations: 350.8 kB / 0.5626 GB, free: 56 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.6042, allocations: 95.98 kB / 0.5627 GB, free: 15.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.6045, allocations: 171.1 kB / 0.5629 GB, free: 15.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.6046, allocations: 93.61 kB / 0.563 GB, free: 15.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6047, allocations: 0 / 0.563 GB, free: 15.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000481/0.6051, allocations: 334.3 kB / 0.5633 GB, free: 15.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.6053, allocations: 451.3 kB / 0.5637 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.6053, allocations: 0 / 0.5637 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6054, allocations: 4 kB / 0.5637 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.6057, allocations: 75.84 kB / 0.5638 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6057, allocations: 4 kB / 0.5638 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.606, allocations: 47.67 kB / 0.5638 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.606, allocations: 19.94 kB / 0.5638 GB, free: 14.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.606, allocations: 0 / 0.5638 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003857/0.6064, allocations: 252.1 kB / 0.5641 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.6064, allocations: 0 / 0.5641 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.6064, allocations: 4 kB / 0.5641 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.6067, allocations: 63.84 kB / 0.5642 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6067, allocations: 8.109 kB / 0.5642 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.6069, allocations: 39.83 kB / 0.5642 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.6069, allocations: 12 kB / 0.5642 GB, free: 14.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.607, allocations: 141.8 kB / 0.5643 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.6071, allocations: 43.47 kB / 0.5644 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.945e-05/0.6072, allocations: 48.36 kB / 0.5644 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.6072, allocations: 4 kB / 0.5644 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6072, allocations: 0 / 0.5644 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6073, allocations: 0 / 0.5644 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.6083, allocations: 0.8414 MB / 0.5653 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6083, allocations: 0 / 0.5653 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.6086, allocations: 55.91 kB / 0.5653 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.6086, allocations: 8 kB / 0.5653 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.6086, allocations: 7.984 kB / 0.5653 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6086, allocations: 4 kB / 0.5653 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6086, allocations: 0 / 0.5653 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.6093, allocations: 0.4989 MB / 0.5658 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.6095, allocations: 136.6 kB / 0.5659 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.6095, allocations: 8 kB / 0.566 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.6098, allocations: 39.97 kB / 0.566 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.6099, allocations: 31.89 kB / 0.566 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.6099, allocations: 8 kB / 0.566 GB, free: 12.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002434/0.6101, allocations: 238.2 kB / 0.5663 GB, free: 12.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6102, allocations: 0 / 0.5663 GB, free: 12.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004691/0.6106, allocations: 155.5 kB / 0.5664 GB, free: 12 MB / 410.7 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.and3.u1) * Number of discrete states: 1 (con.hys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.6108, allocations: 119.1 kB / 0.5665 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006358/0.6114, allocations: 418.5 kB / 0.5669 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6114, allocations: 0 / 0.5669 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.6117, allocations: 131.9 kB / 0.567 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.6121, allocations: 73.75 kB / 0.5671 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.6133, allocations: 0.5856 MB / 0.5677 GB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.6137, allocations: 0.8279 MB / 0.5685 GB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.614, allocations: 69.22 kB / 0.5686 GB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.6141, allocations: 23.44 kB / 0.5686 GB, free: 9.703 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.6141, allocations: 0 / 0.5686 GB, free: 9.703 MB / 410.7 MB Notification: Performance of Templates: time 0.008639/0.6227, allocations: 4.489 MB / 0.573 GB, free: 5.234 MB / 410.7 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)