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.001211/0.001211, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001575/0.001575, allocations: 197 kB / 16.26 MB, free: 6.621 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.664/1.664, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4206/0.4206, allocations: 54.93 MB / 324.4 MB, free: 108 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.001408/0.001408, allocations: 75.89 kB / 394.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.135, allocations: 59.59 MB / 454.5 MB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.2924/0.4274, allocations: 3.155 MB / 457.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.4297, allocations: 1.02 MB / 458.6 MB, free: 37.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003281/0.43, allocations: 13.97 kB / 458.7 MB, free: 37.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.4304, allocations: 49.98 kB / 458.7 MB, free: 37.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.4306, allocations: 78.78 kB / 458.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.4311, allocations: 240.2 kB / 459 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.4316, allocations: 0.5578 MB / 459.6 MB, free: 37.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.4321, allocations: 252.9 kB / 459.8 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.4323, allocations: 211.6 kB / 460 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.4325, allocations: 205.9 kB / 460.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.964e-05/0.4326, allocations: 51.97 kB / 460.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.4326, allocations: 52.75 kB / 460.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.4327, allocations: 113.6 kB / 460.4 MB, free: 37.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.4329, allocations: 251.3 kB / 460.7 MB, free: 37.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.4334, allocations: 0.5451 MB / 461.2 MB, free: 37.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4334, allocations: 0.5625 kB / 461.2 MB, free: 37.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4334, allocations: 6.156 kB / 461.2 MB, free: 37.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.4334, allocations: 0.8125 kB / 461.2 MB, free: 37.22 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.001079/0.4345, allocations: 0.7643 MB / 462 MB, free: 36.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4346, allocations: 8.688 kB / 462 MB, free: 36.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.502e-05/0.4347, allocations: 57.97 kB / 462.1 MB, free: 36.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.4352, allocations: 423.8 kB / 462.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.4352, allocations: 30.06 kB / 462.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.4353, allocations: 40.53 kB / 462.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.4359, allocations: 400.8 kB / 462.9 MB, free: 36.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.4359, allocations: 8.281 kB / 463 MB, free: 36.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.4359, allocations: 18.06 kB / 463 MB, free: 36.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.4359, allocations: 10.03 kB / 463 MB, free: 36.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.4364, allocations: 264.2 kB / 463.2 MB, free: 35.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.4379, allocations: 1.329 MB / 464.6 MB, free: 35.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.4385, allocations: 314.4 kB / 464.9 MB, free: 34.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.4388, allocations: 140.9 kB / 465 MB, free: 34.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.4388, allocations: 3.562 kB / 465 MB, free: 34.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003947/0.4392, allocations: 175.3 kB / 465.2 MB, free: 34.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 3.697e-06/0.4392, allocations: 0.7031 kB / 465.2 MB, free: 34.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007513/0.44, allocations: 379.5 kB / 465.6 MB, free: 34.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.44, allocations: 90.12 kB / 465.6 MB, free: 34.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.4404, allocations: 351.6 kB / 466 MB, free: 34.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.4404, allocations: 39.88 kB / 466 MB, free: 34.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.4406, allocations: 232.5 kB / 466.3 MB, free: 34.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.4407, allocations: 102.8 kB / 466.4 MB, free: 33.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.4408, allocations: 71.97 kB / 466.4 MB, free: 33.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.4409, allocations: 357.3 kB / 466.8 MB, free: 33.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.4411, allocations: 111.1 kB / 466.9 MB, free: 33.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.4413, allocations: 172.8 kB / 467.1 MB, free: 33.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.4417, allocations: 262.1 kB / 467.3 MB, free: 33.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4417, allocations: 0 / 467.3 MB, free: 33.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005725/0.4423, allocations: 356.2 kB / 467.7 MB, free: 33.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4423, allocations: 7.812 kB / 467.7 MB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.4424, allocations: 2.719 kB / 467.7 MB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4424, allocations: 2.594 kB / 467.7 MB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.4426, allocations: 71.86 kB / 467.7 MB, free: 33.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.4427, allocations: 4.359 kB / 467.7 MB, free: 33.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.4429, allocations: 43.14 kB / 467.8 MB, free: 33.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.4429, allocations: 16.66 kB / 467.8 MB, free: 33.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002605/0.4432, allocations: 218.3 kB / 468 MB, free: 32.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001808/0.4434, allocations: 165.9 kB / 468.2 MB, free: 32.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003045/0.4437, allocations: 245.3 kB / 468.4 MB, free: 32.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.4437, allocations: 3.406 kB / 468.4 MB, free: 32.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0004371/0.4441, allocations: 345.2 kB / 468.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.4441, allocations: 5.906 kB / 468.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4441, allocations: 3.875 kB / 468.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-06/0.4442, allocations: 3.453 kB / 468.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.4444, allocations: 63.61 kB / 468.8 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4444, allocations: 3.688 kB / 468.8 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.4446, allocations: 48 kB / 468.9 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.4446, allocations: 9.375 kB / 468.9 MB, free: 32.46 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.0001355/0.4447, allocations: 204.9 kB / 469.1 MB, free: 32.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.4448, allocations: 40.19 kB / 469.1 MB, free: 32.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.668e-05/0.4449, allocations: 48.81 kB / 469.2 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4449, allocations: 2.844 kB / 469.2 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.4449, allocations: 0 / 469.2 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.4449, allocations: 0.9844 kB / 469.2 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.446, allocations: 0.8223 MB / 470 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.446, allocations: 0 / 470 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.4463, allocations: 50.09 kB / 470.1 MB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4463, allocations: 3.562 kB / 470.1 MB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.4463, allocations: 7.281 kB / 470.1 MB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4463, allocations: 3.156 kB / 470.1 MB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4463, allocations: 7.938 kB / 470.1 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.4471, allocations: 0.5077 MB / 470.6 MB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4472, allocations: 140.1 kB / 470.7 MB, free: 31.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.4472, allocations: 7.531 kB / 470.7 MB, free: 31.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.4474, allocations: 19.34 kB / 470.7 MB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/0.4475, allocations: 29 kB / 470.8 MB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4475, allocations: 9.094 kB / 470.8 MB, free: 31.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.4478, allocations: 246 kB / 471 MB, free: 31.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4478, allocations: 0 / 471 MB, free: 31.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004999/0.4483, allocations: 158.9 kB / 471.2 MB, free: 31.05 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.000127/0.4484, allocations: 106.9 kB / 471.3 MB, free: 30.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008386/0.4493, allocations: 435.1 kB / 471.7 MB, free: 30.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4493, allocations: 2.25 kB / 471.7 MB, free: 30.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.4495, allocations: 138.6 kB / 471.8 MB, free: 30.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.4501, allocations: 94.28 kB / 471.9 MB, free: 30.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.4515, allocations: 0.9842 MB / 472.9 MB, free: 30.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.4517, allocations: 0.8169 MB / 473.7 MB, free: 29.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002199/0.452, allocations: 50.56 kB / 473.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.4521, allocations: 35.73 kB / 473.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4521, allocations: 0 / 473.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of Templates: time 0.007329/0.4594, allocations: 3.828 MB / 477.7 MB, free: 29.18 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)