Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.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.001375/0.001375, 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.002158/0.002158, allocations: 192.6 kB / 22.11 MB, free: 5.16 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.636/1.636, allocations: 207.6 MB / 232.8 MB, free: 10.03 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.3548/0.3548, allocations: 55.68 MB / 340.7 MB, free: 13.99 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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer") translateModel(Annex60.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer") [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.002346/0.002346, allocations: 74.23 kB / 482 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5708/0.5732, allocations: 62.86 MB / 0.5321 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.OffTimer): time 0.003541/0.5767, allocations: 1.482 MB / 0.5336 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.5777, allocations: 498.8 kB / 0.534 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.5777, allocations: 4 kB / 0.534 GB, free: 6.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.5778, allocations: 5.672 kB / 0.534 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.5779, allocations: 7.141 kB / 0.5341 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.5781, allocations: 25.5 kB / 0.5341 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.5783, allocations: 46.3 kB / 0.5341 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.5784, allocations: 13.56 kB / 0.5341 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.5785, allocations: 22.77 kB / 0.5342 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.5786, allocations: 23.12 kB / 0.5342 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.5786, allocations: 3.688 kB / 0.5342 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.5786, allocations: 8.5 kB / 0.5342 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.5786, allocations: 13 kB / 0.5342 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.963e-05/0.5787, allocations: 23.97 kB / 0.5342 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.5789, allocations: 44.2 kB / 0.5343 GB, free: 6.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.5789, allocations: 1.031 kB / 0.5343 GB, free: 6.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.17e-06/0.5789, allocations: 0 / 0.5343 GB, free: 6.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.5789, allocations: 0 / 0.5343 GB, free: 6.465 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007323/0.5796, allocations: 287 kB / 0.5345 GB, free: 6.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.034e-05/0.5797, allocations: 9.062 kB / 0.5345 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.5798, allocations: 4.953 kB / 0.5346 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.58, allocations: 127.2 kB / 0.5347 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.58, allocations: 2.562 kB / 0.5347 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.58, allocations: 5.453 kB / 0.5347 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.5802, allocations: 61.83 kB / 0.5347 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.5802, allocations: 0 / 0.5347 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.5802, allocations: 5.859 kB / 0.5347 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.5802, allocations: 1.406 kB / 0.5347 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.761e-05/0.5803, allocations: 25.14 kB / 0.5348 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.581, allocations: 264.9 kB / 0.535 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.5812, allocations: 50.81 kB / 0.5351 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/0.5813, allocations: 29.66 kB / 0.5351 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.5813, allocations: 1.156 kB / 0.5351 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.5815, allocations: 80.89 kB / 0.5352 GB, free: 5.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.5815, allocations: 4.938 kB / 0.5352 GB, free: 5.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000368/0.5819, allocations: 97.94 kB / 0.5353 GB, free: 5.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.582, allocations: 53.7 kB / 0.5353 GB, free: 5.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5821, allocations: 111.1 kB / 0.5354 GB, free: 5.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.5821, allocations: 28.12 kB / 0.5355 GB, free: 5.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.5822, allocations: 90.47 kB / 0.5355 GB, free: 5.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.5822, allocations: 20.81 kB / 0.5356 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.5823, allocations: 25.59 kB / 0.5356 GB, free: 5.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.5823, allocations: 325.8 kB / 0.5359 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.5824, allocations: 15.08 kB / 0.5359 GB, free: 4.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.5825, allocations: 45.19 kB / 0.536 GB, free: 4.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.5826, allocations: 64.56 kB / 0.536 GB, free: 4.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5826, allocations: 4.375 kB / 0.536 GB, free: 4.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000163/0.5827, allocations: 98.52 kB / 0.5361 GB, free: 4.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5828, allocations: 5.203 kB / 0.5361 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.5828, allocations: 1.156 kB / 0.5361 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.5828, allocations: 6.25 kB / 0.5361 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.5829, allocations: 17.69 kB / 0.5361 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5829, allocations: 1.188 kB / 0.5362 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.583, allocations: 10.97 kB / 0.5362 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.583, allocations: 3.406 kB / 0.5362 GB, free: 4.738 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001055/0.5831, allocations: 123.9 kB / 0.5363 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.5831, allocations: 11.3 kB / 0.5363 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.5832, allocations: 5.688 kB / 0.5363 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5832, allocations: 1.125 kB / 0.5363 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5832, allocations: 0.5625 kB / 0.5363 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5832, allocations: 1.672 kB / 0.5363 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.5837, allocations: 330.9 kB / 0.5366 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5837, allocations: 5.594 kB / 0.5366 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.5837, allocations: 7.5 kB / 0.5366 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.5837, allocations: 6.016 kB / 0.5366 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5837, allocations: 0 / 0.5366 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5838, allocations: 5.938 kB / 0.5366 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5838, allocations: 0 / 0.5366 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.584, allocations: 186.8 kB / 0.5368 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.584, allocations: 3.188 kB / 0.5368 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.584, allocations: 1.719 kB / 0.5368 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5841, allocations: 17.69 kB / 0.5368 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.5842, allocations: 6.828 kB / 0.5368 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.5842, allocations: 3.516 kB / 0.5369 GB, free: 4.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.5843, allocations: 84.31 kB / 0.5369 GB, free: 4.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5843, allocations: 0 / 0.5369 GB, free: 4.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000268/0.5845, allocations: 20.48 kB / 0.537 GB, free: 4.035 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0001054/0.5846, allocations: 97.83 kB / 0.537 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.5848, allocations: 52.77 kB / 0.5371 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5848, allocations: 5.125 kB / 0.5371 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.5849, allocations: 28.77 kB / 0.5371 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.5851, allocations: 7.859 kB / 0.5371 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.5856, allocations: 164 kB / 0.5373 GB, free: 3.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.5858, allocations: 0.6854 MB / 0.538 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.066e-05/0.5858, allocations: 8.453 kB / 0.538 GB, free: 3.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.5859, allocations: 11.97 kB / 0.538 GB, free: 3.074 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5859, allocations: 3.938 kB / 0.538 GB, free: 3.07 MB / 398.1 MB Notification: Performance of Templates: time 0.004439/0.5903, allocations: 0.8285 MB / 0.5388 GB, free: 2.973 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.939333189278841] Failed to read output from testmodel.py, exit status != 0: 0.6015371307730675 0.620953927 0.038213239 Calling exit ...