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.001064/0.001064, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001045/0.001046, allocations: 177.3 kB / 15.94 MB, free: 220 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.529/1.529, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.404/0.404, allocations: 54.97 MB / 325.4 MB, free: 0.7383 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.0006131/0.0006132, allocations: 12 kB / 396.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3592, allocations: 60.72 MB / 457.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003429/0.3627, allocations: 2.603 MB / 459.9 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3648, allocations: 0.984 MB / 460.9 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.3654, allocations: 14.44 kB / 460.9 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.3657, allocations: 34.66 kB / 460.9 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008037/0.3665, allocations: 111.4 kB / 461 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.3672, allocations: 192.9 kB / 461.2 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.3677, allocations: 352.3 kB / 461.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.368, allocations: 177.6 kB / 461.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.3683, allocations: 147.4 kB / 461.9 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3685, allocations: 152.6 kB / 462 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.3685, allocations: 12.53 kB / 462.1 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-05/0.3685, allocations: 13.41 kB / 462.1 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.3686, allocations: 60.97 kB / 462.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.3687, allocations: 102.8 kB / 462.2 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.369, allocations: 422.9 kB / 462.6 MB, free: 37.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.369, allocations: 0.625 kB / 462.6 MB, free: 37.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.369, allocations: 0 / 462.6 MB, free: 37.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.369, allocations: 0.5 kB / 462.6 MB, free: 37.99 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.001024/0.3701, allocations: 0.6962 MB / 463.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3701, allocations: 11.94 kB / 463.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.3702, allocations: 56.91 kB / 463.4 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.3707, allocations: 415.2 kB / 463.8 MB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.3707, allocations: 29.61 kB / 463.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.3708, allocations: 37.72 kB / 463.9 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/0.3714, allocations: 395.3 kB / 464.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.3714, allocations: 3.938 kB / 464.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.3715, allocations: 15.09 kB / 464.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3715, allocations: 8.938 kB / 464.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.372, allocations: 272.2 kB / 464.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.3735, allocations: 1.335 MB / 465.9 MB, free: 35.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.3741, allocations: 313.2 kB / 466.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.3741, allocations: 2.969 kB / 466.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.3744, allocations: 171.2 kB / 466.4 MB, free: 35.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.275e-06/0.3744, allocations: 0 / 466.4 MB, free: 35.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007027/0.3752, allocations: 390.7 kB / 466.7 MB, free: 35.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3752, allocations: 82.77 kB / 466.8 MB, free: 35.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.3755, allocations: 358.2 kB / 467.2 MB, free: 35.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.3755, allocations: 36.48 kB / 467.2 MB, free: 35.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3757, allocations: 240.6 kB / 467.4 MB, free: 34.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.3757, allocations: 106.8 kB / 467.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.3758, allocations: 6.75 kB / 467.6 MB, free: 34.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.3758, allocations: 348.6 kB / 467.9 MB, free: 34.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.376, allocations: 101.3 kB / 468 MB, free: 34.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.3762, allocations: 167.1 kB / 468.2 MB, free: 34.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.3765, allocations: 116.7 kB / 468.3 MB, free: 34.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3765, allocations: 0 / 468.3 MB, free: 34.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004986/0.377, allocations: 350.7 kB / 468.6 MB, free: 34.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.3771, allocations: 0.6172 MB / 469.2 MB, free: 33.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3771, allocations: 2.406 kB / 469.2 MB, free: 33.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3772, allocations: 13.42 kB / 469.2 MB, free: 33.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.3774, allocations: 70.19 kB / 469.3 MB, free: 33.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3774, allocations: 2.75 kB / 469.3 MB, free: 33.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.3776, allocations: 48.34 kB / 469.4 MB, free: 33.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3777, allocations: 16.47 kB / 469.4 MB, free: 33.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.3777, allocations: 5.406 kB / 469.4 MB, free: 33.48 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004064/0.3781, allocations: 277.5 kB / 469.7 MB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.3781, allocations: 3.125 kB / 469.7 MB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.3781, allocations: 3 kB / 469.7 MB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.3783, allocations: 66.23 kB / 469.7 MB, free: 33.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3784, allocations: 7.938 kB / 469.7 MB, free: 33.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.3785, allocations: 37.94 kB / 469.8 MB, free: 33.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.3786, allocations: 12.5 kB / 469.8 MB, free: 33.33 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.0001836/0.3787, allocations: 251 kB / 470 MB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.3788, allocations: 38.53 kB / 470.1 MB, free: 33.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.406e-05/0.3789, allocations: 48.08 kB / 470.1 MB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3789, allocations: 2.906 kB / 470.1 MB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3789, allocations: 0 / 470.1 MB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3789, allocations: 6.422 kB / 470.1 MB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3799, allocations: 0.8097 MB / 470.9 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.38, allocations: 4 kB / 470.9 MB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.3802, allocations: 53.67 kB / 471 MB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3802, allocations: 3.125 kB / 471 MB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.3802, allocations: 4 kB / 471 MB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3803, allocations: 3 kB / 471 MB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3803, allocations: 0.8438 kB / 471 MB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007431/0.381, allocations: 0.5198 MB / 471.5 MB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3811, allocations: 140.5 kB / 471.7 MB, free: 32.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.3812, allocations: 6.812 kB / 471.7 MB, free: 32.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.3814, allocations: 21.72 kB / 471.7 MB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.3815, allocations: 31.95 kB / 471.7 MB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.3815, allocations: 6.906 kB / 471.7 MB, free: 32.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.3817, allocations: 240.4 kB / 472 MB, free: 31.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3818, allocations: 2.562 kB / 472 MB, free: 31.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004751/0.3822, allocations: 154.7 kB / 472.1 MB, free: 31.91 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 9.667e-05/0.3823, allocations: 111 kB / 472.2 MB, free: 31.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.383, allocations: 430.2 kB / 472.6 MB, free: 31.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.383, allocations: 0 / 472.6 MB, free: 31.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.3833, allocations: 134.7 kB / 472.8 MB, free: 31.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.3837, allocations: 80.91 kB / 472.9 MB, free: 31.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.385, allocations: 0.973 MB / 473.8 MB, free: 31.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3853, allocations: 0.8317 MB / 474.7 MB, free: 30.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.3855, allocations: 51.31 kB / 474.7 MB, free: 30.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.3856, allocations: 30.5 kB / 474.7 MB, free: 30.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3856, allocations: 0 / 474.7 MB, free: 30.29 MB / 382.1 MB Notification: Performance of Templates: time 0.007451/0.3931, allocations: 3.513 MB / 478.2 MB, free: 30.09 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: