Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002259/0.002259, allocations: 190 kB / 22.11 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 207.6 MB / 232.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2862/0.2862, allocations: 55.67 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] 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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") translateModel(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") [Timeout 660] "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.002189/0.002189, allocations: 78.55 kB / 482 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4415, allocations: 62.86 MB / 0.5321 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPID): time 0.005285/0.4468, allocations: 3.749 MB / 0.5358 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.45, allocations: 1.428 MB / 0.5372 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006288/0.4506, allocations: 34.5 kB / 0.5372 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.4511, allocations: 133.3 kB / 0.5373 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000784/0.4518, allocations: 194.1 kB / 0.5375 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.4538, allocations: 0.6204 MB / 0.5381 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.456, allocations: 0.9937 MB / 0.5391 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006426/0.4566, allocations: 249.9 kB / 0.5393 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006958/0.4573, allocations: 396.2 kB / 0.5397 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.4578, allocations: 364.2 kB / 0.5401 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.458, allocations: 80.62 kB / 0.5401 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.4581, allocations: 81.28 kB / 0.5402 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.4583, allocations: 186.9 kB / 0.5404 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.4587, allocations: 388.8 kB / 0.5408 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.4603, allocations: 0.9187 MB / 0.5417 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.547e-06/0.4603, allocations: 0.5625 kB / 0.5417 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.135e-06/0.4603, allocations: 0.625 kB / 0.5417 GB, free: 1.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.666e-05/0.4603, allocations: 0 / 0.5417 GB, free: 1.711 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002939/0.4632, allocations: 1.149 MB / 0.5428 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.4633, allocations: 9.188 kB / 0.5428 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.4635, allocations: 102.5 kB / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.4649, allocations: 0.5691 MB / 0.5435 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.465, allocations: 97.23 kB / 0.5435 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.4651, allocations: 56.92 kB / 0.5436 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.4664, allocations: 0.618 MB / 0.5442 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.4664, allocations: 0 / 0.5442 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.4664, allocations: 23.53 kB / 0.5442 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4665, allocations: 11.94 kB / 0.5442 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.4678, allocations: 436.4 kB / 0.5447 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/0.4728, allocations: 2.069 MB / 0.5467 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.4743, allocations: 496.2 kB / 0.5471 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/0.4749, allocations: 215.4 kB / 0.5474 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.4749, allocations: 6.203 kB / 0.5474 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007829/0.4757, allocations: 288 kB / 0.5476 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 3.586e-06/0.4757, allocations: 3.938 kB / 0.5476 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.001946/0.4777, allocations: 0.6254 MB / 0.5482 GB, free: 13.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4778, allocations: 90.78 kB / 0.5483 GB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.4789, allocations: 0.6252 MB / 0.5489 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.479, allocations: 32.45 kB / 0.549 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.4793, allocations: 371.1 kB / 0.5493 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.4795, allocations: 162.6 kB / 0.5495 GB, free: 13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.4797, allocations: 102.2 kB / 0.5496 GB, free: 12.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4798, allocations: 329.4 kB / 0.5499 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.4803, allocations: 191.7 kB / 0.5501 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.4809, allocations: 284.2 kB / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.482, allocations: 483.8 kB / 0.5508 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.482, allocations: 1.375 kB / 0.5508 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001507/0.4835, allocations: 0.6033 MB / 0.5514 GB, free: 11.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/0.4836, allocations: 37.77 kB / 0.5514 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4836, allocations: 3.281 kB / 0.5514 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.4836, allocations: 5.562 kB / 0.5514 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005398/0.4841, allocations: 109 kB / 0.5515 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.4842, allocations: 9.156 kB / 0.5516 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.4847, allocations: 67.22 kB / 0.5516 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.4848, allocations: 22.81 kB / 0.5516 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006207/0.4854, allocations: 307 kB / 0.5519 GB, free: 11.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004563/0.4858, allocations: 259.5 kB / 0.5522 GB, free: 11.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007559/0.4866, allocations: 431.4 kB / 0.5526 GB, free: 11.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.4866, allocations: 1.125 kB / 0.5526 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001095/0.4877, allocations: 0.5691 MB / 0.5532 GB, free: 10.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.4877, allocations: 35.69 kB / 0.5532 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4877, allocations: 3.562 kB / 0.5532 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.4877, allocations: 5.312 kB / 0.5532 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.4882, allocations: 102.9 kB / 0.5533 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4882, allocations: 10.08 kB / 0.5533 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.4886, allocations: 54.28 kB / 0.5534 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.4886, allocations: 17.78 kB / 0.5534 GB, free: 10.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002567/0.4888, allocations: 215.3 kB / 0.5536 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.489, allocations: 77.14 kB / 0.5536 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.4892, allocations: 81.69 kB / 0.5537 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4892, allocations: 7.75 kB / 0.5537 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.4892, allocations: 1.344 kB / 0.5537 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.4892, allocations: 1.969 kB / 0.5537 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.4901, allocations: 0.6077 MB / 0.5543 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4901, allocations: 0 / 0.5543 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.4906, allocations: 87.97 kB / 0.5544 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.4906, allocations: 2.438 kB / 0.5544 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.4906, allocations: 12.02 kB / 0.5544 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.4906, allocations: 1.25 kB / 0.5544 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4906, allocations: 5.125 kB / 0.5544 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.4923, allocations: 0.7386 MB / 0.5552 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.4925, allocations: 119 kB / 0.5553 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.4926, allocations: 15.25 kB / 0.5553 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.4931, allocations: 34.25 kB / 0.5553 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4932, allocations: 35.58 kB / 0.5554 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.4932, allocations: 16.97 kB / 0.5554 GB, free: 9.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006206/0.4938, allocations: 442.2 kB / 0.5558 GB, free: 9.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4938, allocations: 4 kB / 0.5558 GB, free: 9.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000746/0.4946, allocations: 229.6 kB / 0.556 GB, free: 9.336 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001689/0.4948, allocations: 109.4 kB / 0.5561 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.4965, allocations: 0.7458 MB / 0.5568 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4966, allocations: 1.25 kB / 0.5568 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.4971, allocations: 205.6 kB / 0.557 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4981, allocations: 222.3 kB / 0.5573 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.5005, allocations: 1.207 MB / 0.5584 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.5011, allocations: 0.9226 MB / 0.5593 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004086/0.5015, allocations: 94.94 kB / 0.5594 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.5017, allocations: 50.91 kB / 0.5595 GB, free: 6.996 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5017, allocations: 0 / 0.5595 GB, free: 6.996 MB / 414.1 MB Notification: Performance of Templates: time 0.01865/0.5203, allocations: 8.372 MB / 0.5676 GB, free: 2.125 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.937067125923932] Failed to read output from testmodel.py, exit status != 0: 0.5294385021552444 0.555226843 0.090213532 Calling exit ...