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.001573/0.001573, allocations: 109 kB / 17.54 MB, free: 4.781 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.001248/0.001248, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.743/1.743, allocations: 207.6 MB / 231.3 MB, free: 3.234 MB / 174.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.4354/0.4354, allocations: 55.7 MB / 339.1 MB, free: 11.98 MB / 270.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.002165/0.002165, allocations: 70.06 kB / 479.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1774, allocations: 62.85 MB / 0.53 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Discrete.Examples.BooleanDelay): time 0.003238/0.1807, allocations: 1.428 MB / 0.5314 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.1816, allocations: 483.7 kB / 0.5318 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.1816, allocations: 0 / 0.5318 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.1817, allocations: 3.938 kB / 0.5318 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.458e-05/0.1818, allocations: 11.92 kB / 0.5318 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.1819, allocations: 27.91 kB / 0.5319 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1821, allocations: 43.86 kB / 0.5319 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1822, allocations: 15.92 kB / 0.5319 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.497e-05/0.1823, allocations: 19.88 kB / 0.5319 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.1823, allocations: 23.86 kB / 0.532 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1823, allocations: 0 / 0.532 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.1824, allocations: 4 kB / 0.532 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.1824, allocations: 15.92 kB / 0.532 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.1825, allocations: 23.91 kB / 0.532 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1826, allocations: 39.83 kB / 0.532 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1826, allocations: 4 kB / 0.532 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.14e-06/0.1826, allocations: 4 kB / 0.532 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1826, allocations: 0 / 0.532 GB, free: 9.535 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.0005938/0.1832, allocations: 393 kB / 0.5324 GB, free: 9.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/0.1832, allocations: 12.03 kB / 0.5324 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.1832, allocations: 4.891 kB / 0.5324 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.1834, allocations: 172.4 kB / 0.5326 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1834, allocations: 8.359 kB / 0.5326 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.1834, allocations: 8.312 kB / 0.5326 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1836, allocations: 57.98 kB / 0.5327 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1836, allocations: 0 / 0.5327 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1836, allocations: 0 / 0.5327 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1836, allocations: 4 kB / 0.5327 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.845e-05/0.1837, allocations: 15.98 kB / 0.5327 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.1841, allocations: 272.8 kB / 0.5329 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1842, allocations: 42.5 kB / 0.533 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.1843, allocations: 20.98 kB / 0.533 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1843, allocations: 0 / 0.533 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.1846, allocations: 97.08 kB / 0.5331 GB, free: 8.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1846, allocations: 4 kB / 0.5331 GB, free: 8.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003566/0.1849, allocations: 143.3 kB / 0.5332 GB, free: 8.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.185, allocations: 85.11 kB / 0.5333 GB, free: 8.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1851, allocations: 109.8 kB / 0.5334 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1851, allocations: 25.7 kB / 0.5335 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.1852, allocations: 88.14 kB / 0.5335 GB, free: 7.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.1852, allocations: 20.12 kB / 0.5336 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.1853, allocations: 25.7 kB / 0.5336 GB, free: 7.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1854, allocations: 318.8 kB / 0.5339 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.51e-05/0.1855, allocations: 19.92 kB / 0.5339 GB, free: 7.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.1855, allocations: 50.44 kB / 0.534 GB, free: 7.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1856, allocations: 106 kB / 0.5341 GB, free: 7.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1856, allocations: 0 / 0.5341 GB, free: 7.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001702/0.1858, allocations: 131.3 kB / 0.5342 GB, free: 7.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.1858, allocations: 31.89 kB / 0.5342 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1859, allocations: 12.06 kB / 0.5342 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.1859, allocations: 0 / 0.5342 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.1859, allocations: 11.94 kB / 0.5342 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1859, allocations: 0 / 0.5342 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.441e-05/0.186, allocations: 11.94 kB / 0.5342 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.186, allocations: 4 kB / 0.5342 GB, free: 6.988 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 0.0001503/0.1862, allocations: 147.5 kB / 0.5344 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.1862, allocations: 7.984 kB / 0.5344 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.1862, allocations: 12.38 kB / 0.5344 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1862, allocations: 0 / 0.5344 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1862, allocations: 0 / 0.5344 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1862, allocations: 4 kB / 0.5344 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.1867, allocations: 400.1 kB / 0.5348 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1867, allocations: 0 / 0.5348 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-06/0.1867, allocations: 0 / 0.5348 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1867, allocations: 0 / 0.5348 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1867, allocations: 7.984 kB / 0.5348 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1867, allocations: 3.938 kB / 0.5348 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1867, allocations: 4 kB / 0.5348 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1869, allocations: 233.2 kB / 0.535 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.187, allocations: 85 kB / 0.5351 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.187, allocations: 4 kB / 0.5351 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.1871, allocations: 8.078 kB / 0.5351 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.1872, allocations: 19.86 kB / 0.5351 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1872, allocations: 7.984 kB / 0.5351 GB, free: 5.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.478e-05/0.1873, allocations: 91.22 kB / 0.5352 GB, free: 5.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1873, allocations: 0 / 0.5352 GB, free: 5.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.1875, allocations: 19.94 kB / 0.5353 GB, free: 5.836 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 0.0001238/0.1876, allocations: 103.2 kB / 0.5354 GB, free: 5.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1878, allocations: 104.1 kB / 0.5355 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1878, allocations: 0 / 0.5355 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1879, allocations: 83.39 kB / 0.5355 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1882, allocations: 16.11 kB / 0.5355 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.1886, allocations: 153.5 kB / 0.5357 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1889, allocations: 0.6846 MB / 0.5364 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.664e-05/0.1889, allocations: 4 kB / 0.5364 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.189, allocations: 15.44 kB / 0.5364 GB, free: 4.598 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.189, allocations: 0 / 0.5364 GB, free: 4.598 MB / 398.1 MB Notification: Performance of Templates: time 0.003949/0.1929, allocations: 0.9032 MB / 0.5373 GB, free: 3.707 MB / 398.1 MB " [Timeout remaining time 660] 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.5879542380571365]