Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.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.001346/0.001346, 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.001459/0.001459, allocations: 192.1 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.665/1.665, 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.3109/0.3109, 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay") translateModel(Annex60.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay") [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.002673/0.002673, allocations: 69.45 kB / 482 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5132/0.5158, allocations: 62.88 MB / 0.5321 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.003272/0.5191, allocations: 1.429 MB / 0.5335 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.5203, allocations: 491.9 kB / 0.534 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.5204, allocations: 0 / 0.534 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/0.5205, allocations: 5.625 kB / 0.534 GB, free: 6.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.5206, allocations: 6.781 kB / 0.534 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.5208, allocations: 27.22 kB / 0.534 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.521, allocations: 49.84 kB / 0.5341 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.5211, allocations: 5.094 kB / 0.5341 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.5212, allocations: 22.91 kB / 0.5341 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.5213, allocations: 22.3 kB / 0.5341 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.5213, allocations: 3.531 kB / 0.5341 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.5213, allocations: 7.625 kB / 0.5341 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.5214, allocations: 11.22 kB / 0.5341 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.5214, allocations: 20.86 kB / 0.5342 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.5216, allocations: 42.91 kB / 0.5342 GB, free: 6.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.5216, allocations: 1.219 kB / 0.5342 GB, free: 6.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5216, allocations: 0 / 0.5342 GB, free: 6.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.5216, allocations: 0 / 0.5342 GB, free: 6.418 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007019/0.5223, allocations: 318.6 kB / 0.5345 GB, free: 6.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5224, allocations: 14.38 kB / 0.5345 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.5224, allocations: 11.17 kB / 0.5345 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.5225, allocations: 123.1 kB / 0.5346 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.5225, allocations: 3.484 kB / 0.5346 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.5225, allocations: 2.812 kB / 0.5346 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.5227, allocations: 55.66 kB / 0.5347 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.5227, allocations: 0 / 0.5347 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5227, allocations: 1.156 kB / 0.5347 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.5227, allocations: 1.859 kB / 0.5347 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.582e-05/0.5228, allocations: 15.59 kB / 0.5347 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.5232, allocations: 248 kB / 0.535 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.5233, allocations: 38.66 kB / 0.535 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.5234, allocations: 17.05 kB / 0.535 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.5234, allocations: 1.094 kB / 0.535 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.5236, allocations: 105.8 kB / 0.5351 GB, free: 5.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.5236, allocations: 0 / 0.5351 GB, free: 5.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003312/0.5239, allocations: 143.8 kB / 0.5352 GB, free: 5.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.524, allocations: 81.88 kB / 0.5353 GB, free: 5.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.5241, allocations: 110.6 kB / 0.5354 GB, free: 5.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.5241, allocations: 27.72 kB / 0.5355 GB, free: 5.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.5241, allocations: 86.25 kB / 0.5355 GB, free: 5.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.5242, allocations: 21.06 kB / 0.5356 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.5242, allocations: 24.11 kB / 0.5356 GB, free: 5.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.5243, allocations: 326.4 kB / 0.5359 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.5243, allocations: 19.36 kB / 0.5359 GB, free: 4.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.175e-05/0.5244, allocations: 37.2 kB / 0.5359 GB, free: 4.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.949e-05/0.5245, allocations: 107.4 kB / 0.5361 GB, free: 4.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5245, allocations: 1.375 kB / 0.5361 GB, free: 4.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001615/0.5246, allocations: 129.7 kB / 0.5362 GB, free: 4.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.5247, allocations: 37.77 kB / 0.5362 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5247, allocations: 384 / 0.5362 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.5247, allocations: 3.109 kB / 0.5362 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.5248, allocations: 6.891 kB / 0.5362 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5248, allocations: 1.281 kB / 0.5362 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.5248, allocations: 14.52 kB / 0.5362 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.5248, allocations: 4.062 kB / 0.5362 GB, free: 4.477 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 9.323e-05/0.5249, allocations: 154.1 kB / 0.5364 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.525, allocations: 4.016 kB / 0.5364 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.525, allocations: 10.06 kB / 0.5364 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.525, allocations: 1.781 kB / 0.5364 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.525, allocations: 4.062 kB / 0.5364 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.525, allocations: 1.703 kB / 0.5364 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.5254, allocations: 373.6 kB / 0.5368 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5254, allocations: 6 kB / 0.5368 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.5254, allocations: 4.938 kB / 0.5368 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5254, allocations: 4.516 kB / 0.5368 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5254, allocations: 2.891 kB / 0.5368 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5254, allocations: 1.062 kB / 0.5368 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5254, allocations: 0.5156 kB / 0.5368 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.5256, allocations: 233.1 kB / 0.537 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.5256, allocations: 6.109 kB / 0.537 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.5257, allocations: 7.078 kB / 0.537 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5258, allocations: 19.89 kB / 0.537 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.5258, allocations: 11 kB / 0.537 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.5259, allocations: 3.938 kB / 0.5371 GB, free: 3.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.206e-05/0.5259, allocations: 88.05 kB / 0.5371 GB, free: 3.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5259, allocations: 0 / 0.5371 GB, free: 3.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000245/0.5261, allocations: 13.91 kB / 0.5371 GB, free: 3.668 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 8.911e-05/0.5262, allocations: 100.3 kB / 0.5372 GB, free: 3.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.5264, allocations: 111.2 kB / 0.5374 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5264, allocations: 0 / 0.5374 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.5265, allocations: 80.78 kB / 0.5374 GB, free: 3.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.5268, allocations: 21.66 kB / 0.5374 GB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.5272, allocations: 154.7 kB / 0.5376 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.5274, allocations: 0.6924 MB / 0.5383 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.5274, allocations: 8.547 kB / 0.5383 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.5274, allocations: 12.17 kB / 0.5383 GB, free: 2.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5274, allocations: 0 / 0.5383 GB, free: 2.57 MB / 398.1 MB Notification: Performance of Templates: time 0.004142/0.5316, allocations: 0.9074 MB / 0.5392 GB, free: 2.465 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.sim & ./Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.760415182448924] Failed to read output from testmodel.py, exit status != 0: 0.540923148393631 0.559706974 0.034275645 Calling exit ...