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.001195/0.001195, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001176/0.001176, allocations: 177.3 kB / 23.49 MB, free: 1.055 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.9747/0.9747, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.8872/0.8872, allocations: 154.8 MB / 415.1 MB, free: 476 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 1.513e-06/1.513e-06, allocations: 0 / 0.5205 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.753e-05, allocations: 8.328 kB / 0.5205 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001915/0.001933, allocations: 1.474 MB / 0.522 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006669/0.002599, allocations: 448.7 kB / 0.5224 GB, free: 416 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.002638, allocations: 1.688 kB / 0.5224 GB, free: 416 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.002665, allocations: 7.922 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.002745, allocations: 15.88 kB / 0.5224 GB, free: 392 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.002892, allocations: 19.91 kB / 0.5224 GB, free: 372 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.002998, allocations: 56.53 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.003074, allocations: 0 / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/0.003151, allocations: 37.31 kB / 0.5225 GB, free: 280 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.003213, allocations: 19.91 kB / 0.5225 GB, free: 260 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.003232, allocations: 0 / 0.5225 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.003242, allocations: 4 kB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.003265, allocations: 9.344 kB / 0.5226 GB, free: 248 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.0033, allocations: 15.92 kB / 0.5226 GB, free: 232 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.927e-05/0.003399, allocations: 35.89 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003401, allocations: 0 / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003402, allocations: 5.312 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.003406, allocations: 0 / 0.5226 GB, free: 192 kB / 490.7 MB 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.0004026/0.003808, allocations: 412.9 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.00384, allocations: 8.031 kB / 0.523 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.003878, allocations: 12.88 kB / 0.523 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.247e-05/0.00395, allocations: 116.5 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.00396, allocations: 8.375 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.003968, allocations: 4.375 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.559e-05/0.004043, allocations: 72.5 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-06/0.004048, allocations: 192 / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.004055, allocations: 5.344 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.004059, allocations: 3.938 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.498e-05/0.004094, allocations: 33.7 kB / 0.5233 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.004377, allocations: 273.3 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.769e-05/0.004445, allocations: 72.69 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.004475, allocations: 41.39 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.004491, allocations: 4.922 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.004607, allocations: 136.5 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.004608, allocations: 1.406 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002309/0.004839, allocations: 186.7 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.004881, allocations: 89.09 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.004962, allocations: 166.2 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.004973, allocations: 30.86 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.005017, allocations: 130.9 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.005035, allocations: 23.92 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.005069, allocations: 32.05 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.005186, allocations: 0.4884 MB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.005217, allocations: 42.91 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.005259, allocations: 72.47 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.005336, allocations: 119.6 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005338, allocations: 0 / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002807/0.005619, allocations: 152.2 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.005646, allocations: 33.7 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.005653, allocations: 7.984 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.00567, allocations: 8 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/0.005713, allocations: 8 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.005718, allocations: 0 / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.00575, allocations: 7.953 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.005758, allocations: 4 kB / 0.5253 GB, free: 13.11 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 8.189e-05/0.00584, allocations: 197.1 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.005852, allocations: 7.938 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.005877, allocations: 16.38 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.005879, allocations: 0 / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.005884, allocations: 0 / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.005888, allocations: 0 / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.006177, allocations: 428.6 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006179, allocations: 1.5 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-06/0.006183, allocations: 4 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.006185, allocations: 0 / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.006193, allocations: 0 / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.006194, allocations: 0.5 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.006196, allocations: 4.5 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.006353, allocations: 313.4 kB / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.006362, allocations: 7.953 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.006378, allocations: 0 / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.593e-05/0.006424, allocations: 4 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.006468, allocations: 11.98 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.00648, allocations: 4 kB / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.006518, allocations: 129.6 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006518, allocations: 0 / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001523/0.00667, allocations: 20 kB / 0.5264 GB, free: 11.89 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 6.891e-05/0.006739, allocations: 95.25 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.006888, allocations: 176.4 kB / 0.5267 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.00689, allocations: 0 / 0.5267 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/0.006951, allocations: 112.8 kB / 0.5268 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.007149, allocations: 22.17 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.007407, allocations: 196.7 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.00744, allocations: 55.36 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.007461, allocations: 7.984 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.007485, allocations: 13.44 kB / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.007485, allocations: 0 / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.002355/0.00984, allocations: 0.9339 MB / 0.528 GB, free: 10.23 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: 4.064474825980142]