Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.051/1.051, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8702/0.8702, allocations: 154.6 MB / 414.8 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 480 MB, free: 6.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.722e-05, allocations: 3.031 kB / 480 MB, free: 6.883 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003266/0.003294, allocations: 1.519 MB / 481.5 MB, free: 5.387 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.004224, allocations: 471.2 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.004267, allocations: 0 / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.004299, allocations: 4.922 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.004397, allocations: 12.39 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.004566, allocations: 23.84 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.004698, allocations: 55.12 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.00479, allocations: 0.8438 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.004906, allocations: 38.91 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/0.004984, allocations: 14.77 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.005006, allocations: 4 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.005017, allocations: 0.9062 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.005045, allocations: 16.75 kB / 482.1 MB, free: 4.785 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.005085, allocations: 13.23 kB / 482.1 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.005217, allocations: 39.83 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.005222, allocations: 2.969 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.005223, allocations: 0 / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005228, allocations: 0 / 482.2 MB, free: 4.734 MB / 442.7 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.0004849/0.005713, allocations: 289.7 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.005753, allocations: 8.031 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.00579, allocations: 4.938 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.311e-05/0.005883, allocations: 110.5 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.005897, allocations: 12.38 kB / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.00591, allocations: 13.17 kB / 482.6 MB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.006015, allocations: 67.89 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.006022, allocations: 1.375 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.006031, allocations: 4.375 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006038, allocations: 7.938 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.209e-05/0.00608, allocations: 42.23 kB / 482.7 MB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.006378, allocations: 148.8 kB / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.1e-05/0.006459, allocations: 61 kB / 482.9 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.006493, allocations: 38.55 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.006508, allocations: 8.5 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.006651, allocations: 119.5 kB / 483.1 MB, free: 3.695 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 2.295e-06/0.006653, allocations: 0 / 483.1 MB, free: 3.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001962/0.006849, allocations: 163.3 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.006902, allocations: 81.09 kB / 483.3 MB, free: 3.414 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.006984, allocations: 123.3 kB / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.007, allocations: 30.23 kB / 483.5 MB, free: 3.246 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.007036, allocations: 80.14 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.007057, allocations: 17.02 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.007103, allocations: 29.69 kB / 483.6 MB, free: 3.113 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.007204, allocations: 314.8 kB / 483.9 MB, free: 2.797 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.007238, allocations: 42.44 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.007285, allocations: 60.27 kB / 484 MB, free: 2.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.562e-05/0.00737, allocations: 115.2 kB / 484.1 MB, free: 2.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007372, allocations: 1 kB / 484.1 MB, free: 2.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001337/0.007506, allocations: 125.6 kB / 484.3 MB, free: 2.402 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.007544, allocations: 35.41 kB / 484.3 MB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.007551, allocations: 5.25 kB / 484.3 MB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.007568, allocations: 4 kB / 484.3 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.641e-05/0.007614, allocations: 7.938 kB / 484.3 MB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.007618, allocations: 1.375 kB / 484.3 MB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.007672, allocations: 7.953 kB / 484.3 MB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.00768, allocations: 4 kB / 484.3 MB, free: 2.336 MB / 442.7 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.0001059/0.007786, allocations: 148.6 kB / 484.5 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.007804, allocations: 4 kB / 484.5 MB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.007838, allocations: 20.36 kB / 484.5 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.007841, allocations: 1.031 kB / 484.5 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.007843, allocations: 0 / 484.5 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007847, allocations: 0 / 484.5 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.008159, allocations: 283 kB / 484.8 MB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008161, allocations: 0 / 484.8 MB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-06/0.00817, allocations: 0.75 kB / 484.8 MB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.008174, allocations: 3.938 kB / 484.8 MB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.008183, allocations: 5.969 kB / 484.8 MB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.008187, allocations: 4.062 kB / 484.8 MB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.008188, allocations: 0 / 484.8 MB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.008358, allocations: 226.8 kB / 485 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.008374, allocations: 11.95 kB / 485 MB, free: 1.566 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.008396, allocations: 7.938 kB / 485 MB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.008482, allocations: 8.766 kB / 485 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.008519, allocations: 8.609 kB / 485 MB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.008537, allocations: 10.23 kB / 485.1 MB, free: 1.535 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.102e-05/0.008558, allocations: 14.31 kB / 485.1 MB, free: 1.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.008558, allocations: 0 / 485.1 MB, free: 1.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.008797, allocations: 16 kB / 485.1 MB, free: 1.504 MB / 442.7 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.0001071/0.008904, allocations: 85.09 kB / 485.2 MB, free: 1.414 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.009067, allocations: 156.1 kB / 485.3 MB, free: 1.234 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.00907, allocations: 0.5938 kB / 485.3 MB, free: 1.234 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.009151, allocations: 115 kB / 485.4 MB, free: 1.102 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.009388, allocations: 17.98 kB / 485.5 MB, free: 1.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.00972, allocations: 176.9 kB / 485.6 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.009765, allocations: 63.34 kB / 485.7 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.009795, allocations: 1.406 kB / 485.7 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.009876, allocations: 67.36 kB / 485.8 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009877, allocations: 0 / 485.8 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of Templates: time 0.003747/0.01362, allocations: 0.9668 MB / 486.7 MB, free: 15.85 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6884790370240808]