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.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001104/0.001104, allocations: 188.3 kB / 16.13 MB, free: 6.652 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.461/1.461, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4085/0.4085, allocations: 54.93 MB / 324.3 MB, free: 116 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.001348/0.001348, allocations: 64.52 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1623, allocations: 59.58 MB / 454.2 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.2856/0.448, allocations: 3.149 MB / 457.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.4497, allocations: 1.022 MB / 458.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.4499, allocations: 13.47 kB / 458.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.4502, allocations: 52.42 kB / 458.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.4504, allocations: 76.52 kB / 458.6 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005882/0.451, allocations: 241.6 kB / 458.8 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.4515, allocations: 0.5198 MB / 459.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.4519, allocations: 241.7 kB / 459.5 MB, free: 37.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.4521, allocations: 178.5 kB / 459.7 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.4523, allocations: 188.5 kB / 459.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.4523, allocations: 26.09 kB / 459.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.4524, allocations: 26.16 kB / 460 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.4525, allocations: 84.2 kB / 460 MB, free: 37.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.4526, allocations: 222.8 kB / 460.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.453, allocations: 0.5198 MB / 460.8 MB, free: 37.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4531, allocations: 1.094 kB / 460.8 MB, free: 37.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.4531, allocations: 0 / 460.8 MB, free: 37.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.4531, allocations: 0 / 460.8 MB, free: 37.51 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.001131/0.4542, allocations: 0.7659 MB / 461.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4543, allocations: 13.16 kB / 461.6 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.4544, allocations: 56.8 kB / 461.6 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/0.455, allocations: 419.1 kB / 462 MB, free: 36.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.455, allocations: 33 kB / 462.1 MB, free: 36.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.4551, allocations: 41.94 kB / 462.1 MB, free: 36.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/0.4558, allocations: 404.3 kB / 462.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4558, allocations: 0 / 462.5 MB, free: 36.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.4558, allocations: 14.72 kB / 462.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4559, allocations: 11.22 kB / 462.5 MB, free: 36.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.4564, allocations: 267.4 kB / 462.8 MB, free: 36.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.458, allocations: 1.333 MB / 464.1 MB, free: 35.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.4586, allocations: 309.1 kB / 464.4 MB, free: 35.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.4589, allocations: 136.8 kB / 464.5 MB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.459, allocations: 2.656 kB / 464.5 MB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/0.4594, allocations: 184 kB / 464.7 MB, free: 35.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.4594, allocations: 0 / 464.7 MB, free: 35.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007615/0.4602, allocations: 381.9 kB / 465.1 MB, free: 34.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4602, allocations: 86.58 kB / 465.2 MB, free: 34.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.4605, allocations: 356.6 kB / 465.5 MB, free: 34.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4605, allocations: 36.58 kB / 465.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.4607, allocations: 242.2 kB / 465.8 MB, free: 34.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.4607, allocations: 95.8 kB / 465.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4609, allocations: 72.94 kB / 466 MB, free: 34.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.4609, allocations: 350 kB / 466.3 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.4612, allocations: 111.3 kB / 466.4 MB, free: 33.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.4614, allocations: 174.7 kB / 466.6 MB, free: 33.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.4618, allocations: 260.7 kB / 466.8 MB, free: 33.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4618, allocations: 0 / 466.8 MB, free: 33.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005532/0.4624, allocations: 365.2 kB / 467.2 MB, free: 33.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4624, allocations: 5.688 kB / 467.2 MB, free: 33.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4624, allocations: 3.703 kB / 467.2 MB, free: 33.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4624, allocations: 2.875 kB / 467.2 MB, free: 33.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.4627, allocations: 63.09 kB / 467.3 MB, free: 33.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.4627, allocations: 8.469 kB / 467.3 MB, free: 33.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.4629, allocations: 42.17 kB / 467.3 MB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.463, allocations: 11.81 kB / 467.3 MB, free: 33.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000284/0.4633, allocations: 218.9 kB / 467.5 MB, free: 33.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002248/0.4635, allocations: 169.2 kB / 467.7 MB, free: 33.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003456/0.4638, allocations: 247.9 kB / 468 MB, free: 32.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.4639, allocations: 0 / 468 MB, free: 32.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0004761/0.4643, allocations: 347 kB / 468.3 MB, free: 32.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.4644, allocations: 5.875 kB / 468.3 MB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.4644, allocations: 3.438 kB / 468.3 MB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/0.4644, allocations: 3 kB / 468.3 MB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.4646, allocations: 64.81 kB / 468.4 MB, free: 32.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4646, allocations: 3.875 kB / 468.4 MB, free: 32.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.4648, allocations: 47.14 kB / 468.4 MB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.4648, allocations: 10.5 kB / 468.4 MB, free: 32.78 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.000141/0.4649, allocations: 204.9 kB / 468.6 MB, free: 32.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.465, allocations: 36.94 kB / 468.7 MB, free: 32.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.4651, allocations: 49.62 kB / 468.7 MB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4651, allocations: 2.906 kB / 468.7 MB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4651, allocations: 0 / 468.7 MB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4651, allocations: 0 / 468.7 MB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.4662, allocations: 0.8277 MB / 469.5 MB, free: 32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4662, allocations: 0 / 469.5 MB, free: 32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.4665, allocations: 52.09 kB / 469.6 MB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4665, allocations: 0 / 469.6 MB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.4665, allocations: 6.188 kB / 469.6 MB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.4665, allocations: 7 kB / 469.6 MB, free: 31.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4665, allocations: 3.938 kB / 469.6 MB, free: 31.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007805/0.4673, allocations: 0.5139 MB / 470.1 MB, free: 31.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4674, allocations: 138.8 kB / 470.3 MB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.4675, allocations: 7.406 kB / 470.3 MB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4677, allocations: 18.05 kB / 470.3 MB, free: 31.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.4678, allocations: 33.41 kB / 470.3 MB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4678, allocations: 8.109 kB / 470.3 MB, free: 31.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.468, allocations: 248.1 kB / 470.6 MB, free: 31.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.468, allocations: 0 / 470.6 MB, free: 31.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004748/0.4685, allocations: 155.8 kB / 470.7 MB, free: 31.37 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.0001256/0.4687, allocations: 107.3 kB / 470.8 MB, free: 31.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.4694, allocations: 420 kB / 471.2 MB, free: 31.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4694, allocations: 0 / 471.2 MB, free: 31.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.4697, allocations: 133.4 kB / 471.4 MB, free: 31.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.4702, allocations: 94.62 kB / 471.5 MB, free: 31.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.4716, allocations: 0.9772 MB / 472.4 MB, free: 30.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.4719, allocations: 0.8122 MB / 473.2 MB, free: 29.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.4721, allocations: 55.23 kB / 473.3 MB, free: 29.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.4722, allocations: 30.91 kB / 473.3 MB, free: 29.72 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4722, allocations: 0 / 473.3 MB, free: 29.72 MB / 382.1 MB Notification: Performance of Templates: time 0.007274/0.4795, allocations: 3.667 MB / 477 MB, free: 29.51 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)