Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Annex60.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 99.55 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.001604/0.001604, allocations: 177.3 kB / 15.94 MB, free: 228 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.413/1.413, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4217/0.4217, allocations: 54.99 MB / 325.4 MB, free: 0.7227 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.0005347/0.0005348, allocations: 12 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3199, allocations: 60.71 MB / 457.3 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPIDWithReset): time 0.003768/0.3238, allocations: 3.401 MB / 460.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.3264, allocations: 1.353 MB / 462 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.3269, allocations: 22.81 kB / 462.1 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.327, allocations: 58.59 kB / 462.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000691/0.3277, allocations: 221.1 kB / 462.3 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007731/0.3285, allocations: 327.8 kB / 462.7 MB, free: 37.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007286/0.3292, allocations: 0.605 MB / 463.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.3297, allocations: 300.4 kB / 463.6 MB, free: 37.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.3299, allocations: 241.8 kB / 463.8 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.3302, allocations: 247.1 kB / 464 MB, free: 37.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.3302, allocations: 23.81 kB / 464.1 MB, free: 37.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.526e-05/0.3303, allocations: 27.06 kB / 464.1 MB, free: 37.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.3304, allocations: 95.03 kB / 464.2 MB, free: 37.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3305, allocations: 153.3 kB / 464.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.331, allocations: 0.8154 MB / 465.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.3311, allocations: 3.281 kB / 465.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3311, allocations: 0 / 465.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.3311, allocations: 1.906 kB / 465.1 MB, free: 36.77 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001509/0.3326, allocations: 0.9653 MB / 466.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3326, allocations: 7.688 kB / 466.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.3328, allocations: 82.84 kB / 466.2 MB, free: 36.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/0.3335, allocations: 0.548 MB / 466.8 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.3336, allocations: 47.84 kB / 466.8 MB, free: 35.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.3337, allocations: 58.83 kB / 466.9 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/0.3346, allocations: 0.6147 MB / 467.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.3347, allocations: 0 / 467.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.3347, allocations: 23.09 kB / 467.5 MB, free: 35.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.3347, allocations: 16.44 kB / 467.5 MB, free: 35.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.3356, allocations: 476.2 kB / 468 MB, free: 35.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.3381, allocations: 2.045 MB / 470 MB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.3389, allocations: 460.4 kB / 470.5 MB, free: 33.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.339, allocations: 6.5 kB / 470.5 MB, free: 33.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/0.3395, allocations: 266.6 kB / 470.7 MB, free: 33.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 2.575e-06/0.3395, allocations: 0 / 470.7 MB, free: 33.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.001175/0.3407, allocations: 0.5999 MB / 471.3 MB, free: 33.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3407, allocations: 65.38 kB / 471.4 MB, free: 33.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.3412, allocations: 443.4 kB / 471.8 MB, free: 33.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.3412, allocations: 29.7 kB / 471.9 MB, free: 33.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.3414, allocations: 333.4 kB / 472.2 MB, free: 32.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3415, allocations: 166.3 kB / 472.3 MB, free: 32.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.3416, allocations: 11.12 kB / 472.4 MB, free: 32.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3417, allocations: 373.7 kB / 472.7 MB, free: 32.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.342, allocations: 174.3 kB / 472.9 MB, free: 32.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.3424, allocations: 259 kB / 473.1 MB, free: 32.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.3428, allocations: 222.6 kB / 473.4 MB, free: 31.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.3428, allocations: 0 / 473.4 MB, free: 31.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009158/0.3438, allocations: 0.5715 MB / 473.9 MB, free: 31.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.344, allocations: 0.8099 MB / 474.7 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.344, allocations: 7.484 kB / 474.8 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.344, allocations: 5.5 kB / 474.8 MB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.3445, allocations: 121.2 kB / 474.9 MB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3445, allocations: 4 kB / 474.9 MB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.3449, allocations: 72.94 kB / 475 MB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.345, allocations: 19.19 kB / 475 MB, free: 30.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.345, allocations: 5.219 kB / 475 MB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007706/0.3458, allocations: 0.4894 MB / 475.5 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3458, allocations: 2.719 kB / 475.5 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.66e-06/0.3458, allocations: 5.281 kB / 475.5 MB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.3462, allocations: 112.6 kB / 475.6 MB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3462, allocations: 6.719 kB / 475.6 MB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.3465, allocations: 63.61 kB / 475.7 MB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.3465, allocations: 17.44 kB / 475.7 MB, free: 30.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002632/0.3468, allocations: 286.4 kB / 475.9 MB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.3469, allocations: 56.98 kB / 476 MB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.347, allocations: 65.95 kB / 476.1 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.347, allocations: 6.781 kB / 476.1 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.347, allocations: 7.188 kB / 476.1 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.347, allocations: 0 / 476.1 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.3487, allocations: 1.197 MB / 477.3 MB, free: 29.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3487, allocations: 0 / 477.3 MB, free: 29.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.3492, allocations: 101.7 kB / 477.4 MB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3492, allocations: 3 kB / 477.4 MB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.3492, allocations: 10.94 kB / 477.4 MB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3492, allocations: 2.875 kB / 477.4 MB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3492, allocations: 3.094 kB / 477.4 MB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.3504, allocations: 0.7682 MB / 478.2 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.3506, allocations: 174 kB / 478.3 MB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.3507, allocations: 16.84 kB / 478.4 MB, free: 28.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.351, allocations: 31.48 kB / 478.4 MB, free: 28.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.3511, allocations: 37.86 kB / 478.4 MB, free: 28.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3511, allocations: 16.5 kB / 478.4 MB, free: 28.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.3514, allocations: 308.9 kB / 478.7 MB, free: 28.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3514, allocations: 0 / 478.7 MB, free: 28.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000637/0.3521, allocations: 254.6 kB / 479 MB, free: 28.69 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001128/0.3522, allocations: 123.1 kB / 479.1 MB, free: 28.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.3535, allocations: 0.7805 MB / 479.9 MB, free: 28.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3535, allocations: 0 / 479.9 MB, free: 28.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.3539, allocations: 225.9 kB / 480.1 MB, free: 28.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.3546, allocations: 147.8 kB / 480.3 MB, free: 28.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.357, allocations: 1.634 MB / 481.9 MB, free: 27.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3573, allocations: 0.907 MB / 482.8 MB, free: 26.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003444/0.3576, allocations: 72.89 kB / 482.9 MB, free: 26.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3578, allocations: 40.72 kB / 482.9 MB, free: 26.4 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3578, allocations: 0 / 482.9 MB, free: 26.4 MB / 382.1 MB Notification: Performance of Templates: time 0.01223/0.37, allocations: 5.884 MB / 488.8 MB, free: 26.01 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: