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.000787/0.0007871, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006322/0.006322, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.614/1.614, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4135/0.4135, allocations: 55.01 MB / 325.7 MB, free: 0.6016 MB / 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.0006354/0.0006356, allocations: 12 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4431, allocations: 60.71 MB / 458 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003608/0.4467, allocations: 2.771 MB / 460.7 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.4488, allocations: 1.009 MB / 461.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.4491, allocations: 14.62 kB / 461.8 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.4494, allocations: 54.78 kB / 461.8 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.4496, allocations: 71.45 kB / 461.9 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.4501, allocations: 241.1 kB / 462.1 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.4506, allocations: 0.5167 MB / 462.6 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.451, allocations: 239.1 kB / 462.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.4513, allocations: 147.8 kB / 463 MB, free: 37.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.4515, allocations: 160.2 kB / 463.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.4516, allocations: 14.44 kB / 463.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.872e-05/0.4516, allocations: 14.53 kB / 463.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.4517, allocations: 57.81 kB / 463.3 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.4519, allocations: 222 kB / 463.5 MB, free: 37.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.4524, allocations: 0.5073 MB / 464 MB, free: 37.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4524, allocations: 0 / 464 MB, free: 37.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4524, allocations: 0.9062 kB / 464 MB, free: 37.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.4524, allocations: 0 / 464 MB, free: 37.55 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.001028/0.4534, allocations: 0.6927 MB / 464.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4535, allocations: 12.81 kB / 464.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.4536, allocations: 54.75 kB / 464.7 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.4541, allocations: 418.2 kB / 465.1 MB, free: 36.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.4542, allocations: 29.06 kB / 465.2 MB, free: 36.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.4542, allocations: 46.88 kB / 465.2 MB, free: 36.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.4549, allocations: 399.9 kB / 465.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4549, allocations: 1.281 kB / 465.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.4549, allocations: 17.44 kB / 465.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.455, allocations: 12.95 kB / 465.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.4555, allocations: 275.4 kB / 465.9 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.4572, allocations: 1.344 MB / 467.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.4578, allocations: 306.8 kB / 467.6 MB, free: 35.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.4581, allocations: 143 kB / 467.7 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.4581, allocations: 2.969 kB / 467.7 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/0.4585, allocations: 180.1 kB / 467.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.4585, allocations: 0 / 467.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.000705/0.4592, allocations: 387 kB / 468.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4593, allocations: 80.27 kB / 468.3 MB, free: 35.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.4596, allocations: 357.4 kB / 468.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.4596, allocations: 40.7 kB / 468.7 MB, free: 35.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.4597, allocations: 237.9 kB / 468.9 MB, free: 34.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.4598, allocations: 103.4 kB / 469 MB, free: 34.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.4598, allocations: 41.72 kB / 469.1 MB, free: 34.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.4599, allocations: 352.4 kB / 469.4 MB, free: 34.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.4601, allocations: 104.5 kB / 469.5 MB, free: 34.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.4604, allocations: 177.5 kB / 469.7 MB, free: 34.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.4607, allocations: 268 kB / 470 MB, free: 34.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4608, allocations: 0 / 470 MB, free: 34.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000514/0.4613, allocations: 367.1 kB / 470.3 MB, free: 33.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.4613, allocations: 133.4 kB / 470.5 MB, free: 33.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4614, allocations: 3.672 kB / 470.5 MB, free: 33.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4614, allocations: 2.906 kB / 470.5 MB, free: 33.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.4616, allocations: 68.66 kB / 470.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.4616, allocations: 4.766 kB / 470.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.4618, allocations: 52.02 kB / 470.6 MB, free: 33.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.4619, allocations: 12.91 kB / 470.6 MB, free: 33.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/0.4619, allocations: 5.188 kB / 470.6 MB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004131/0.4623, allocations: 277.6 kB / 470.9 MB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.4623, allocations: 2.812 kB / 470.9 MB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/0.4623, allocations: 7.125 kB / 470.9 MB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.4625, allocations: 67.47 kB / 471 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.4625, allocations: 2.781 kB / 471 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.4627, allocations: 46.73 kB / 471 MB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.4627, allocations: 10 kB / 471 MB, free: 33.66 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.0001772/0.4629, allocations: 251.1 kB / 471.3 MB, free: 33.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.463, allocations: 44.77 kB / 471.3 MB, free: 33.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.838e-05/0.4631, allocations: 41.3 kB / 471.3 MB, free: 33.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.4631, allocations: 3.906 kB / 471.3 MB, free: 33.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4631, allocations: 3.281 kB / 471.3 MB, free: 33.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4631, allocations: 0 / 471.3 MB, free: 33.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.4641, allocations: 0.8215 MB / 472.2 MB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4642, allocations: 4.344 kB / 472.2 MB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.4644, allocations: 44.72 kB / 472.2 MB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4644, allocations: 2.469 kB / 472.2 MB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.4644, allocations: 12.23 kB / 472.2 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4644, allocations: 0 / 472.2 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4644, allocations: 0 / 472.2 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007163/0.4652, allocations: 0.5229 MB / 472.8 MB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.4653, allocations: 136.4 kB / 472.9 MB, free: 32.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.4653, allocations: 6.719 kB / 472.9 MB, free: 32.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.4655, allocations: 21.58 kB / 472.9 MB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.4656, allocations: 29.31 kB / 472.9 MB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.4656, allocations: 11.88 kB / 473 MB, free: 32.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.4658, allocations: 249.5 kB / 473.2 MB, free: 32.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4658, allocations: 1.031 kB / 473.2 MB, free: 32.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004658/0.4663, allocations: 159.7 kB / 473.4 MB, free: 32.22 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.0001101/0.4664, allocations: 107.8 kB / 473.5 MB, free: 32.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006752/0.4671, allocations: 436.9 kB / 473.9 MB, free: 31.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4671, allocations: 0 / 473.9 MB, free: 31.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.4673, allocations: 130.3 kB / 474 MB, free: 31.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.4679, allocations: 86.61 kB / 474.1 MB, free: 31.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.4692, allocations: 1.022 MB / 475.1 MB, free: 31.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.4695, allocations: 0.8151 MB / 475.9 MB, free: 30.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.4697, allocations: 58.8 kB / 476 MB, free: 30.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.4698, allocations: 30.7 kB / 476 MB, free: 30.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4698, allocations: 0 / 476 MB, free: 30.56 MB / 382.1 MB Notification: Performance of Templates: time 0.00789/0.4777, allocations: 3.634 MB / 479.7 MB, free: 30.35 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: