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.0009994/0.0009997, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001214/0.001214, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4365/0.4365, allocations: 55.02 MB / 325.4 MB, free: 0.7188 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.0006174/0.0006178, allocations: 20 kB / 396.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.549, allocations: 60.71 MB / 457.4 MB, free: 38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003451/0.5525, allocations: 2.641 MB / 460 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.5543, allocations: 0.9883 MB / 461 MB, free: 37.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.5546, allocations: 15.81 kB / 461 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.5548, allocations: 48.14 kB / 461 MB, free: 37.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.555, allocations: 67.83 kB / 461.1 MB, free: 37.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.5557, allocations: 188 kB / 461.3 MB, free: 37.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005897/0.5563, allocations: 0.4893 MB / 461.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.5567, allocations: 175.3 kB / 462 MB, free: 37.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.557, allocations: 144.2 kB / 462.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.5572, allocations: 149.7 kB / 462.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.5573, allocations: 17.94 kB / 462.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.924e-05/0.5573, allocations: 13.03 kB / 462.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.5574, allocations: 63.09 kB / 462.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.438e-05/0.5575, allocations: 102.2 kB / 462.4 MB, free: 37.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.5579, allocations: 422.4 kB / 462.8 MB, free: 37.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5579, allocations: 0.5 kB / 462.8 MB, free: 37.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.519e-06/0.558, allocations: 3.969 kB / 462.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.558, allocations: 6.969 kB / 462.9 MB, free: 37.35 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.001142/0.5591, allocations: 0.6913 MB / 463.6 MB, free: 36.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5592, allocations: 9.688 kB / 463.6 MB, free: 36.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5593, allocations: 56.94 kB / 463.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.5599, allocations: 410.3 kB / 464 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.086e-05/0.56, allocations: 32.25 kB / 464 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.56, allocations: 36.69 kB / 464.1 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.5607, allocations: 404.5 kB / 464.5 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5608, allocations: 0 / 464.5 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.5608, allocations: 17.19 kB / 464.5 MB, free: 36.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5608, allocations: 10.95 kB / 464.5 MB, free: 36.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.5613, allocations: 269.5 kB / 464.8 MB, free: 36.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.5629, allocations: 1.334 MB / 466.1 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.5635, allocations: 312.8 kB / 466.4 MB, free: 35.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.5638, allocations: 136.6 kB / 466.5 MB, free: 35.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.5638, allocations: 5.75 kB / 466.5 MB, free: 35.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.5642, allocations: 188.3 kB / 466.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.694e-06/0.5642, allocations: 0 / 466.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007153/0.5649, allocations: 378.9 kB / 467.1 MB, free: 34.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.565, allocations: 86.88 kB / 467.2 MB, free: 34.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.5653, allocations: 354.5 kB / 467.5 MB, free: 34.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.5653, allocations: 36.64 kB / 467.6 MB, free: 34.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.5655, allocations: 233.9 kB / 467.8 MB, free: 34.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.003e-05/0.5655, allocations: 105.5 kB / 467.9 MB, free: 34.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/0.5656, allocations: 4 kB / 467.9 MB, free: 34.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.5656, allocations: 354.9 kB / 468.3 MB, free: 33.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.5658, allocations: 99.94 kB / 468.3 MB, free: 33.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.5661, allocations: 172.4 kB / 468.5 MB, free: 33.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.5663, allocations: 117.5 kB / 468.6 MB, free: 33.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5663, allocations: 3.469 kB / 468.6 MB, free: 33.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00052/0.5668, allocations: 343.2 kB / 469 MB, free: 33.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.479e-05/0.5669, allocations: 144 kB / 469.1 MB, free: 33.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.5669, allocations: 2.969 kB / 469.1 MB, free: 33.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.5669, allocations: 10.83 kB / 469.1 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.5672, allocations: 67.12 kB / 469.2 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5672, allocations: 3.781 kB / 469.2 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.5674, allocations: 45.17 kB / 469.2 MB, free: 33.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.5675, allocations: 14.91 kB / 469.3 MB, free: 33.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.5675, allocations: 2.656 kB / 469.3 MB, free: 33.43 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003984/0.5679, allocations: 281.5 kB / 469.5 MB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.5679, allocations: 2.719 kB / 469.5 MB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.5679, allocations: 2.812 kB / 469.5 MB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.5681, allocations: 65.44 kB / 469.6 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.5681, allocations: 2.844 kB / 469.6 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.5683, allocations: 44.66 kB / 469.6 MB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.5683, allocations: 17.88 kB / 469.7 MB, free: 33.29 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 ($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.greaterEqualThreshold.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.5685, allocations: 248.2 kB / 469.9 MB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.5686, allocations: 37.81 kB / 469.9 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.804e-05/0.5687, allocations: 50.52 kB / 470 MB, free: 33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5687, allocations: 2.875 kB / 470 MB, free: 33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.5687, allocations: 4 kB / 470 MB, free: 33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5687, allocations: 0 / 470 MB, free: 33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009343/0.5696, allocations: 0.8094 MB / 470.8 MB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5696, allocations: 7.531 kB / 470.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.5699, allocations: 45.03 kB / 470.9 MB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5699, allocations: 10.31 kB / 470.9 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.5699, allocations: 6.844 kB / 470.9 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.5699, allocations: 1.562 kB / 470.9 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5699, allocations: 0 / 470.9 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.5706, allocations: 0.5253 MB / 471.4 MB, free: 32.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.5707, allocations: 139.7 kB / 471.5 MB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.5708, allocations: 4 kB / 471.5 MB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.571, allocations: 24.12 kB / 471.6 MB, free: 32.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.571, allocations: 25.81 kB / 471.6 MB, free: 32.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.5711, allocations: 8.344 kB / 471.6 MB, free: 32.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.5713, allocations: 243.9 kB / 471.8 MB, free: 31.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5713, allocations: 1.406 kB / 471.8 MB, free: 31.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.5718, allocations: 157.3 kB / 472 MB, free: 31.86 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 (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.0001193/0.5719, allocations: 108 kB / 472.1 MB, free: 31.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007112/0.5727, allocations: 427.5 kB / 472.5 MB, free: 31.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5727, allocations: 2.938 kB / 472.5 MB, free: 31.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.5729, allocations: 132.4 kB / 472.6 MB, free: 31.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.5735, allocations: 92.19 kB / 472.7 MB, free: 31.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.5749, allocations: 0.976 MB / 473.7 MB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.5752, allocations: 0.8124 MB / 474.5 MB, free: 30.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000241/0.5754, allocations: 58.05 kB / 474.6 MB, free: 30.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.5755, allocations: 27.59 kB / 474.6 MB, free: 30.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5755, allocations: 0 / 474.6 MB, free: 30.24 MB / 382.1 MB Notification: Performance of Templates: time 0.009258/0.5848, allocations: 3.523 MB / 478.1 MB, free: 30.04 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: