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.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.001443/0.001443, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001424/0.001424, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.167/1.167, allocations: 173.4 MB / 471.3 MB, free: 6.535 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 68.8 kB / 0.6489 GB, free: 23.01 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1929, allocations: 89.53 MB / 0.7364 GB, free: 3.684 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002684/0.1957, allocations: 1.42 MB / 0.7378 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008225/0.1965, allocations: 435 kB / 0.7382 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.1966, allocations: 0 / 0.7382 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.1966, allocations: 3.938 kB / 0.7382 GB, free: 1.816 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.149e-05/0.1967, allocations: 7.922 kB / 0.7382 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.1969, allocations: 19.92 kB / 0.7382 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1971, allocations: 51.78 kB / 0.7382 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1972, allocations: 11.94 kB / 0.7383 GB, free: 1.727 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.1973, allocations: 19.92 kB / 0.7383 GB, free: 1.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.1974, allocations: 31.84 kB / 0.7383 GB, free: 1.676 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1974, allocations: 4 kB / 0.7383 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.1974, allocations: 4 kB / 0.7383 GB, free: 1.668 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.1974, allocations: 7.984 kB / 0.7383 GB, free: 1.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.1975, allocations: 19.88 kB / 0.7383 GB, free: 1.641 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1976, allocations: 39.88 kB / 0.7384 GB, free: 1.602 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1976, allocations: 4 kB / 0.7384 GB, free: 1.598 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1977, allocations: 0 / 0.7384 GB, free: 1.598 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.1977, allocations: 0 / 0.7384 GB, free: 1.598 MB / 0.545 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.000769/0.1984, allocations: 393 kB / 0.7388 GB, free: 1.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1985, allocations: 12.03 kB / 0.7388 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1985, allocations: 8.922 kB / 0.7388 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1987, allocations: 168.3 kB / 0.7389 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1987, allocations: 4.375 kB / 0.7389 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1987, allocations: 384 / 0.7389 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1989, allocations: 61.92 kB / 0.739 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1989, allocations: 0 / 0.739 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1989, allocations: 4 kB / 0.739 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1989, allocations: 4 kB / 0.739 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.199, allocations: 12 kB / 0.739 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.1995, allocations: 273.9 kB / 0.7393 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.857e-05/0.1996, allocations: 42.52 kB / 0.7393 GB, free: 492 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.1996, allocations: 20.97 kB / 0.7393 GB, free: 468 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1996, allocations: 7.875 kB / 0.7394 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1998, allocations: 109.1 kB / 0.7395 GB, free: 332 kB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1999, allocations: 0 / 0.7395 GB, free: 332 kB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002877/0.2002, allocations: 139.3 kB / 0.7396 GB, free: 180 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.2002, allocations: 81.11 kB / 0.7397 GB, free: 80 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2004, allocations: 113.8 kB / 0.7398 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.2004, allocations: 25.7 kB / 0.7398 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.2005, allocations: 92.12 kB / 0.7399 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.2005, allocations: 19.84 kB / 0.7399 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.2005, allocations: 29.7 kB / 0.7399 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2007, allocations: 314.8 kB / 0.7402 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.2007, allocations: 19.98 kB / 0.7403 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.2008, allocations: 34.52 kB / 0.7403 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.2009, allocations: 122.3 kB / 0.7404 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2009, allocations: 0 / 0.7404 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001656/0.2011, allocations: 127.3 kB / 0.7405 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.2011, allocations: 33.69 kB / 0.7406 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2011, allocations: 7.984 kB / 0.7406 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2011, allocations: 0 / 0.7406 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.464e-05/0.2012, allocations: 7.938 kB / 0.7406 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2012, allocations: 0 / 0.7406 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.2013, allocations: 7.984 kB / 0.7406 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2013, allocations: 12.06 kB / 0.7406 GB, free: 15.05 MB / 0.5606 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 0.0001158/0.2014, allocations: 147.5 kB / 0.7407 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.2014, allocations: 7.953 kB / 0.7407 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.2015, allocations: 8.375 kB / 0.7407 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2015, allocations: 64 / 0.7407 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.2015, allocations: 7.984 kB / 0.7408 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2015, allocations: 4 kB / 0.7408 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.2019, allocations: 400.5 kB / 0.7411 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2019, allocations: 4 kB / 0.7411 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/0.2019, allocations: 4 kB / 0.7411 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.202, allocations: 3.938 kB / 0.7412 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.202, allocations: 0 / 0.7412 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.202, allocations: 4 kB / 0.7412 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.202, allocations: 0 / 0.7412 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.2022, allocations: 233.1 kB / 0.7414 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.2023, allocations: 88.98 kB / 0.7415 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.2023, allocations: 12 kB / 0.7415 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.2024, allocations: 4 kB / 0.7415 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.2025, allocations: 11.92 kB / 0.7415 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.2025, allocations: 4 kB / 0.7415 GB, free: 14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.676e-05/0.2025, allocations: 87.27 kB / 0.7416 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2026, allocations: 0 / 0.7416 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002299/0.2028, allocations: 20 kB / 0.7416 GB, free: 13.89 MB / 0.5606 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.0001078/0.2029, allocations: 103.2 kB / 0.7417 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.2031, allocations: 119.3 kB / 0.7418 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2031, allocations: 0 / 0.7418 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.2032, allocations: 87.39 kB / 0.7419 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.2035, allocations: 14.19 kB / 0.7419 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.2039, allocations: 183 kB / 0.7421 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.2042, allocations: 0.6925 MB / 0.7428 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.2043, allocations: 11.44 kB / 0.7428 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.2043, allocations: 0 / 0.7428 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.002613/0.2069, allocations: 0.914 MB / 0.7437 GB, free: 11.7 MB / 0.5606 GB " [Timeout remaining time 660] 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: 7.952522882958874] Failed to read output from testmodel.py, exit status != 0: 0.21323083387687802 0.226513702 0.026310463000000003 Calling exit ...