Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007578/0.0007578, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008085/0.0008085, allocations: 211.9 kB / 23.01 MB, free: 3.113 MB / 13.93 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 0.8821/0.8821, allocations: 230.6 MB / 256.8 MB, free: 3.469 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7586/0.7586, allocations: 203.8 MB / 0.5049 GB, free: 0.6562 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 67.89 kB / 0.7194 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4819, allocations: 102 MB / 0.819 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003161/0.4851, allocations: 1.468 MB / 0.8205 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.4861, allocations: 480.5 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.4862, allocations: 0.8125 kB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.4862, allocations: 4.969 kB / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.4863, allocations: 12.64 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.4866, allocations: 15.2 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.4868, allocations: 54.97 kB / 0.821 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.4869, allocations: 6.109 kB / 0.821 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.487, allocations: 30.88 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.919e-05/0.4871, allocations: 17.69 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.4871, allocations: 3.719 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.4872, allocations: 3.688 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.4872, allocations: 9.188 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.4873, allocations: 20.27 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.4875, allocations: 43.53 kB / 0.8212 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4875, allocations: 1.25 kB / 0.8212 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.985e-06/0.4875, allocations: 1.031 kB / 0.8212 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.4875, allocations: 0 / 0.8212 GB, free: 23.84 MB / 0.6355 GB 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.0006955/0.4882, allocations: 319.8 kB / 0.8215 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.4882, allocations: 10.91 kB / 0.8215 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.4883, allocations: 9.547 kB / 0.8215 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4884, allocations: 115.1 kB / 0.8216 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.4884, allocations: 8.828 kB / 0.8216 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.4885, allocations: 3.188 kB / 0.8216 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4886, allocations: 55.17 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4886, allocations: 0.75 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4886, allocations: 1.188 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4886, allocations: 1.188 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.8e-05/0.4887, allocations: 17.06 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.4892, allocations: 260.3 kB / 0.8219 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.4894, allocations: 33.08 kB / 0.822 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.4894, allocations: 21.84 kB / 0.822 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4894, allocations: 1.125 kB / 0.822 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.4897, allocations: 101.9 kB / 0.8221 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.746e-06/0.4897, allocations: 3.344 kB / 0.8221 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.000354/0.4901, allocations: 140.7 kB / 0.8222 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.4901, allocations: 80.81 kB / 0.8223 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.4902, allocations: 111.5 kB / 0.8224 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.4902, allocations: 27.58 kB / 0.8224 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.4903, allocations: 86.31 kB / 0.8225 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.4903, allocations: 25.42 kB / 0.8225 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.4903, allocations: 27.17 kB / 0.8225 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.4904, allocations: 323.9 kB / 0.8229 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.4904, allocations: 14.22 kB / 0.8229 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.4905, allocations: 36.42 kB / 0.8229 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.4906, allocations: 116.4 kB / 0.823 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4906, allocations: 0 / 0.823 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001745/0.4908, allocations: 126.2 kB / 0.8231 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.4908, allocations: 34.36 kB / 0.8232 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4908, allocations: 1.062 kB / 0.8232 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4909, allocations: 1.125 kB / 0.8232 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.4909, allocations: 7.969 kB / 0.8232 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4909, allocations: 0.9375 kB / 0.8232 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.491, allocations: 11.77 kB / 0.8232 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.491, allocations: 6.719 kB / 0.8232 GB, free: 21.91 MB / 0.6355 GB 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.631e-05/0.4911, allocations: 154.5 kB / 0.8233 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.4911, allocations: 8.234 kB / 0.8234 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.4912, allocations: 10.11 kB / 0.8234 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4912, allocations: 5.969 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4912, allocations: 5.062 kB / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.4912, allocations: 0 / 0.8234 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.4916, allocations: 380.3 kB / 0.8237 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4916, allocations: 4 kB / 0.8237 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-06/0.4916, allocations: 2.156 kB / 0.8237 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4916, allocations: 5 kB / 0.8237 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.4917, allocations: 1.562 kB / 0.8237 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4917, allocations: 2.109 kB / 0.8238 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4917, allocations: 0 / 0.8238 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.4918, allocations: 233.8 kB / 0.824 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.4919, allocations: 6.344 kB / 0.824 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.4919, allocations: 6.922 kB / 0.824 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.492, allocations: 12.44 kB / 0.824 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.492, allocations: 10.39 kB / 0.824 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.4921, allocations: 3.938 kB / 0.824 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.4921, allocations: 87.11 kB / 0.8241 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4921, allocations: 0.5 kB / 0.8241 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001763/0.4923, allocations: 13.66 kB / 0.8241 GB, free: 21.1 MB / 0.6355 GB 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.0001198/0.4924, allocations: 104.8 kB / 0.8242 GB, free: 21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.4926, allocations: 113.4 kB / 0.8243 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4926, allocations: 1.031 kB / 0.8243 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.4927, allocations: 81.2 kB / 0.8244 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.493, allocations: 14.33 kB / 0.8244 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.4934, allocations: 181.6 kB / 0.8246 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.4935, allocations: 0.6931 MB / 0.8253 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.4936, allocations: 11.47 kB / 0.8253 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/0.4936, allocations: 0 / 0.8253 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.003483/0.497, allocations: 0.9138 MB / 0.8262 GB, free: 19.89 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.670320901088417] Failed to read output from testmodel.py, exit status != 0: 0.504356738878414 0.517738734 0.027810964 Calling exit ...