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.0009561/0.0009561, allocations: 89.06 kB / 19.64 MB, free: 276 kB / 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.0009486/0.0009486, allocations: 169 kB / 23.02 MB, free: 1.543 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.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.648 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-535:34: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-535:42: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.9048/0.9048, allocations: 154.8 MB / 414.7 MB, free: 468 kB / 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 2.455e-06/2.455e-06, allocations: 0 / 0.5205 GB, free: 2.012 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.389e-05, allocations: 2.312 kB / 0.5205 GB, free: 2.008 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003032/0.003066, allocations: 1.479 MB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000945/0.00401, allocations: 457.6 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.004056, allocations: 0 / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.004092, allocations: 0.5 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.947e-05/0.004192, allocations: 16.89 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.00438, allocations: 23.86 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.00451, allocations: 52.91 kB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.004625, allocations: 8.078 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.004724, allocations: 31.81 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.004797, allocations: 16.55 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.00482, allocations: 4 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.004835, allocations: 5.719 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.004861, allocations: 3.938 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.004913, allocations: 15.98 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.005048, allocations: 39.77 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.005051, allocations: 1.812 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.005052, allocations: 0 / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.005057, allocations: 0 / 0.5226 GB, free: 15.88 MB / 0.4948 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.0005713/0.005628, allocations: 412 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.005675, allocations: 8.031 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.005732, allocations: 16.88 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.005854, allocations: 112.6 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.005868, allocations: 4.375 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.005885, allocations: 5.125 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.006022, allocations: 75.92 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.006035, allocations: 5.594 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.006046, allocations: 384 / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.006057, allocations: 3.938 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.88e-05/0.006116, allocations: 45.62 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.006529, allocations: 261.1 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.418e-05/0.006623, allocations: 68.75 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.006668, allocations: 46.89 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.006687, allocations: 0 / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.006852, allocations: 144.2 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.006854, allocations: 0 / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002901/0.007144, allocations: 193.3 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.007194, allocations: 85.09 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.007295, allocations: 170 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.007312, allocations: 33.7 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.007366, allocations: 126.9 kB / 0.5243 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.007394, allocations: 19.86 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.007706, allocations: 31.36 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.007836, allocations: 0.4928 MB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.00789, allocations: 42.66 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.007952, allocations: 68.75 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.008059, allocations: 116 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.008062, allocations: 0 / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001883/0.00825, allocations: 153.9 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.008289, allocations: 33.69 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.008296, allocations: 4.062 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.008314, allocations: 7.25 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.00837, allocations: 4 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.008378, allocations: 3.938 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.008438, allocations: 7.953 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.008447, allocations: 4 kB / 0.5253 GB, free: 12.8 MB / 0.4948 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.0001176/0.008565, allocations: 194.3 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.008592, allocations: 11.94 kB / 0.5255 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.008631, allocations: 11.28 kB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.008637, allocations: 3.984 kB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.008642, allocations: 0 / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008645, allocations: 0 / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.009094, allocations: 428.6 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.009097, allocations: 0 / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-06/0.009106, allocations: 4 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.009109, allocations: 0 / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.00912, allocations: 1.5 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.009124, allocations: 4 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.009125, allocations: 0 / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.009385, allocations: 311.2 kB / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.0094, allocations: 8.453 kB / 0.5262 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.009426, allocations: 4 kB / 0.5262 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.00952, allocations: 10.17 kB / 0.5262 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.009579, allocations: 7.938 kB / 0.5262 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.0096, allocations: 7.984 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.009657, allocations: 131.2 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.009657, allocations: 4 kB / 0.5264 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002672/0.009924, allocations: 14.44 kB / 0.5264 GB, free: 11.57 MB / 0.4948 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.0001068/0.01003, allocations: 107.2 kB / 0.5265 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.01024, allocations: 166.4 kB / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01024, allocations: 0 / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.01034, allocations: 114.8 kB / 0.5268 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.01066, allocations: 21.89 kB / 0.5268 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.01107, allocations: 191.8 kB / 0.527 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.738e-05/0.01112, allocations: 59.34 kB / 0.527 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.01115, allocations: 5.031 kB / 0.527 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.01119, allocations: 12.5 kB / 0.527 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.01119, allocations: 0.9375 kB / 0.527 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.004206/0.0154, allocations: 0.932 MB / 0.528 GB, free: 9.922 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9596525989472866]