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.001518/0.001518, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002608/0.002608, allocations: 213.2 kB / 22.24 MB, free: 5.242 MB / 14.72 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.617/1.617, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 1.333/1.333, allocations: 203.8 MB / 0.5042 GB, free: 4.598 MB / 414.1 MB " [Timeout remaining time 178] 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.002063/0.002063, allocations: 63.91 kB / 0.7186 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7154/0.7175, allocations: 102 MB / 0.8182 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003129/0.7206, allocations: 1.439 MB / 0.8196 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.7216, allocations: 442.1 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.7216, allocations: 0 / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.7217, allocations: 6.328 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.742e-05/0.7218, allocations: 11.27 kB / 0.8201 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.722, allocations: 20.05 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.7221, allocations: 48.95 kB / 0.8201 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.7222, allocations: 14.7 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.7223, allocations: 23.27 kB / 0.8202 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/0.7224, allocations: 18.88 kB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.7224, allocations: 4.844 kB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.7224, allocations: 6.625 kB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.7225, allocations: 8.062 kB / 0.8202 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.7225, allocations: 19.83 kB / 0.8202 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.7227, allocations: 43.8 kB / 0.8203 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7227, allocations: 1.625 kB / 0.8203 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7227, allocations: 1.312 kB / 0.8203 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.7227, allocations: 0 / 0.8203 GB, free: 27.55 MB / 0.6387 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.0006542/0.7233, allocations: 317.5 kB / 0.8206 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.7234, allocations: 10.78 kB / 0.8206 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.7234, allocations: 8.656 kB / 0.8206 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.7236, allocations: 115.7 kB / 0.8207 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.7236, allocations: 3.656 kB / 0.8207 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.7236, allocations: 7.531 kB / 0.8207 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.7238, allocations: 80.53 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.7238, allocations: 0.875 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.7238, allocations: 8.828 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.7238, allocations: 0.75 kB / 0.8208 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.225e-05/0.7239, allocations: 44.14 kB / 0.8208 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.7243, allocations: 217.9 kB / 0.8211 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.7245, allocations: 75.8 kB / 0.8211 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.7245, allocations: 44.72 kB / 0.8212 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.7245, allocations: 0.9688 kB / 0.8212 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.7248, allocations: 133.1 kB / 0.8213 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.7248, allocations: 1.188 kB / 0.8213 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0003707/0.7252, allocations: 200 kB / 0.8215 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.7252, allocations: 81.16 kB / 0.8216 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.7253, allocations: 112.6 kB / 0.8217 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.7253, allocations: 28.23 kB / 0.8217 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.7254, allocations: 87.11 kB / 0.8218 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.7254, allocations: 20.42 kB / 0.8218 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.7254, allocations: 24.55 kB / 0.8218 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.7255, allocations: 324.2 kB / 0.8221 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.318e-05/0.7256, allocations: 41.95 kB / 0.8222 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.7256, allocations: 72.16 kB / 0.8222 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.7257, allocations: 113.8 kB / 0.8224 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7257, allocations: 8.844 kB / 0.8224 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002047/0.7259, allocations: 155.3 kB / 0.8225 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.726, allocations: 37.55 kB / 0.8225 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.726, allocations: 1.141 kB / 0.8225 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.726, allocations: 1.156 kB / 0.8225 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.568e-05/0.7261, allocations: 3.672 kB / 0.8226 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.7261, allocations: 6.312 kB / 0.8226 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.7262, allocations: 6.125 kB / 0.8226 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.7262, allocations: 7.625 kB / 0.8226 GB, free: 25.34 MB / 0.6387 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.0001019/0.7263, allocations: 150.4 kB / 0.8227 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.7263, allocations: 8.828 kB / 0.8227 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.7263, allocations: 13.77 kB / 0.8227 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.7263, allocations: 1.094 kB / 0.8227 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.7263, allocations: 1.016 kB / 0.8227 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.7264, allocations: 0.75 kB / 0.8227 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.7268, allocations: 375.1 kB / 0.8231 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7268, allocations: 0 / 0.8231 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.7268, allocations: 9.641 kB / 0.8231 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7268, allocations: 1.094 kB / 0.8231 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.7268, allocations: 6.141 kB / 0.8231 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.7268, allocations: 1.094 kB / 0.8231 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7268, allocations: 4 kB / 0.8231 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.7271, allocations: 258.3 kB / 0.8234 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.7271, allocations: 11.34 kB / 0.8234 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.7271, allocations: 2.891 kB / 0.8234 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.7272, allocations: 8.719 kB / 0.8234 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.7273, allocations: 13.75 kB / 0.8234 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.7273, allocations: 3.469 kB / 0.8234 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.7273, allocations: 92.42 kB / 0.8235 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5e-08/0.7273, allocations: 0.5938 kB / 0.8235 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002393/0.7276, allocations: 14.88 kB / 0.8235 GB, free: 24.51 MB / 0.6387 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.0001026/0.7277, allocations: 108.8 kB / 0.8236 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.7279, allocations: 174.6 kB / 0.8238 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7279, allocations: 0 / 0.8238 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.728, allocations: 108.8 kB / 0.8239 GB, free: 24.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.7283, allocations: 19.58 kB / 0.8239 GB, free: 24.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.7287, allocations: 182.2 kB / 0.8241 GB, free: 23.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.484e-05/0.7287, allocations: 73.48 kB / 0.8241 GB, free: 23.92 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.7288, allocations: 4.375 kB / 0.8241 GB, free: 23.92 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.7288, allocations: 10.28 kB / 0.8242 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.7288, allocations: 1.469 kB / 0.8242 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of Templates: time 0.004173/0.733, allocations: 0.9475 MB / 0.8251 GB, free: 23.79 MB / 0.6387 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: 7.269256358966231] Failed to read output from testmodel.py, exit status != 0: 0.7416902184486389 0.755098314 0.029460438000000002 Calling exit ...