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.0009087/0.0009087, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001042/0.001042, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8915/0.8915, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.6888/0.6888, allocations: 154.5 MB / 414.5 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.6192 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.556e-05, allocations: 5.672 kB / 0.6192 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001506/0.001521, allocations: 1.445 MB / 0.6206 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005398/0.002061, allocations: 438.9 kB / 0.6211 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.002093, allocations: 0 / 0.6211 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.002117, allocations: 3.938 kB / 0.6211 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.002189, allocations: 23.84 kB / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.002317, allocations: 11.98 kB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.574e-05/0.002413, allocations: 55.73 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.416e-05/0.002487, allocations: 7.922 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.002552, allocations: 31.97 kB / 0.6212 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.519e-05/0.002607, allocations: 15.92 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.002624, allocations: 4 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.002633, allocations: 4 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.002653, allocations: 11.98 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.002686, allocations: 11.94 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.928e-05/0.002785, allocations: 51.86 kB / 0.6213 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002787, allocations: 0 / 0.6213 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002788, allocations: 0 / 0.6213 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.002791, allocations: 0 / 0.6213 GB, free: 11.21 MB / 0.5886 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.0004059/0.003197, allocations: 319.9 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.003229, allocations: 9.469 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.003258, allocations: 8.891 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.168e-05/0.00333, allocations: 109.7 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.003339, allocations: 384 / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.00335, allocations: 8.359 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.689e-05/0.003447, allocations: 79.94 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.003454, allocations: 192 / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.003463, allocations: 4.359 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.003467, allocations: 3.938 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.997e-05/0.003517, allocations: 53.69 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.003776, allocations: 216.5 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.28e-05/0.003849, allocations: 68.27 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.00388, allocations: 46.67 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.003895, allocations: 7.938 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.004021, allocations: 130.7 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.004022, allocations: 0 / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002132/0.004236, allocations: 202.7 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.004273, allocations: 77.19 kB / 0.6226 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.742e-05/0.004331, allocations: 121.8 kB / 0.6227 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.00434, allocations: 25.7 kB / 0.6227 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.004375, allocations: 88.14 kB / 0.6228 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.00439, allocations: 19.78 kB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.004421, allocations: 33.66 kB / 0.6228 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.00449, allocations: 318.8 kB / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.004519, allocations: 41.7 kB / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.004558, allocations: 64.27 kB / 0.6232 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.153e-05/0.00463, allocations: 118.3 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004631, allocations: 4 kB / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001048/0.004736, allocations: 160.9 kB / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.004762, allocations: 37.69 kB / 0.6235 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.004765, allocations: 0 / 0.6235 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.004775, allocations: 0 / 0.6235 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.053e-05/0.004806, allocations: 4 kB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.00481, allocations: 0 / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.004847, allocations: 16 kB / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.004853, allocations: 4 kB / 0.6236 GB, free: 8.559 MB / 0.5886 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 6.448e-05/0.004917, allocations: 152.6 kB / 0.6237 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.004926, allocations: 11.94 kB / 0.6237 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.004945, allocations: 8.422 kB / 0.6237 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.004946, allocations: 4 kB / 0.6237 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.004949, allocations: 0 / 0.6237 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.004951, allocations: 0 / 0.6237 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.005189, allocations: 373.8 kB / 0.6241 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.00519, allocations: 0 / 0.6241 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-06/0.005192, allocations: 3.938 kB / 0.6241 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.005194, allocations: 0 / 0.6241 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.005201, allocations: 7.984 kB / 0.6241 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.005202, allocations: 4 kB / 0.6241 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005203, allocations: 0 / 0.6241 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.00533, allocations: 262.8 kB / 0.6244 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.005338, allocations: 7.891 kB / 0.6244 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.005351, allocations: 8 kB / 0.6244 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.005402, allocations: 7.984 kB / 0.6244 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.005437, allocations: 11.97 kB / 0.6244 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.005447, allocations: 4 kB / 0.6244 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.005475, allocations: 87.27 kB / 0.6245 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005475, allocations: 0 / 0.6245 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000147/0.005622, allocations: 24 kB / 0.6245 GB, free: 7.504 MB / 0.5886 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 6.124e-05/0.005683, allocations: 97.28 kB / 0.6246 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.005831, allocations: 166.7 kB / 0.6248 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005832, allocations: 0 / 0.6248 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.005887, allocations: 113 kB / 0.6249 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.00607, allocations: 23.91 kB / 0.6249 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.006315, allocations: 200.2 kB / 0.6251 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.006356, allocations: 75.47 kB / 0.6252 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.006379, allocations: 16.5 kB / 0.6252 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of SimCode: time 3.3e-07/0.006379, allocations: 0 / 0.6252 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of Templates: time 0.001501/0.007881, allocations: 0.9199 MB / 0.6261 GB, free: 5.809 MB / 0.5886 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: 4.915013254620135] Failed to read output from testmodel.py, exit status != 0: 0.011850900016725063 0.018790846 0.014570382000000002 Calling exit ...