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.000893/0.000893, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0008892/0.0008892, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.108/1.108, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.8178/0.8178, allocations: 154.9 MB / 415.9 MB, free: 276 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.132e-06/1.132e-06, allocations: 0 / 0.5218 GB, free: 1.598 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.772e-05, allocations: 3.406 kB / 0.5218 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002287/0.002305, allocations: 1.469 MB / 0.5233 GB, free: 136 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006837/0.002989, allocations: 456.6 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.003029, allocations: 0 / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.003054, allocations: 3.938 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.329e-05/0.003137, allocations: 24.34 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.003272, allocations: 16.95 kB / 0.5238 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.916e-05/0.003372, allocations: 47.86 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.439e-05/0.003446, allocations: 3.984 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.003523, allocations: 36.81 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.003583, allocations: 15.92 kB / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.003602, allocations: 4.625 kB / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.003611, allocations: 4 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.003634, allocations: 13.23 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.003666, allocations: 15.92 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.2e-05/0.003758, allocations: 31.91 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.00376, allocations: 0.6875 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003761, allocations: 0 / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003765, allocations: 1.594 kB / 0.5239 GB, free: 15.47 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.0004162/0.004181, allocations: 414.2 kB / 0.5243 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.004214, allocations: 8.562 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.004249, allocations: 10.36 kB / 0.5243 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.981e-05/0.004328, allocations: 116.5 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.004343, allocations: 8.375 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.004351, allocations: 4.359 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.538e-05/0.004437, allocations: 72.69 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.004445, allocations: 4.125 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004454, allocations: 5.438 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.00446, allocations: 3.938 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.348e-05/0.004493, allocations: 37.69 kB / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.004752, allocations: 249.5 kB / 0.5248 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.87e-05/0.00482, allocations: 68.69 kB / 0.5249 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.004849, allocations: 43.81 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.004861, allocations: 4 kB / 0.5249 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.004974, allocations: 124.6 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.004975, allocations: 0 / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002215/0.005197, allocations: 194.9 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.005238, allocations: 81.11 kB / 0.5253 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.005312, allocations: 167.5 kB / 0.5255 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.005323, allocations: 25.7 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.005372, allocations: 134.9 kB / 0.5256 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.005389, allocations: 15.86 kB / 0.5256 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.005432, allocations: 39.34 kB / 0.5257 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003439/0.005776, allocations: 0.4889 MB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.005802, allocations: 38.67 kB / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.005836, allocations: 68.75 kB / 0.5263 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.869e-05/0.005895, allocations: 107.9 kB / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.005896, allocations: 0 / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001061/0.006003, allocations: 149.6 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.006027, allocations: 42.66 kB / 0.5265 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.006031, allocations: 0 / 0.5265 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.006039, allocations: 0 / 0.5265 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.009e-05/0.006069, allocations: 5.562 kB / 0.5265 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.006074, allocations: 4 kB / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.00611, allocations: 7.953 kB / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.006116, allocations: 4 kB / 0.5266 GB, free: 12.45 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 7.498e-05/0.006191, allocations: 191.4 kB / 0.5267 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.006204, allocations: 12.06 kB / 0.5268 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.006225, allocations: 20.95 kB / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.006228, allocations: 7.938 kB / 0.5268 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.00623, allocations: 2.75 kB / 0.5268 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.006233, allocations: 0 / 0.5268 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.006477, allocations: 405.3 kB / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006479, allocations: 0 / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-06/0.006482, allocations: 0 / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006485, allocations: 3.938 kB / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.006491, allocations: 8 kB / 0.5272 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006492, allocations: 3 kB / 0.5272 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006492, allocations: 0 / 0.5272 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.006629, allocations: 303.2 kB / 0.5275 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.006638, allocations: 11.89 kB / 0.5275 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.006651, allocations: 4 kB / 0.5275 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-05/0.006701, allocations: 4 kB / 0.5275 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.006729, allocations: 7.984 kB / 0.5275 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.00674, allocations: 4 kB / 0.5275 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.186e-05/0.006772, allocations: 132.7 kB / 0.5276 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006772, allocations: 0 / 0.5276 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001494/0.006921, allocations: 16 kB / 0.5276 GB, free: 11.25 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.643e-05/0.006988, allocations: 98.47 kB / 0.5277 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.007117, allocations: 166.4 kB / 0.5279 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007118, allocations: 0 / 0.5279 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.007171, allocations: 112.8 kB / 0.528 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.007355, allocations: 15.98 kB / 0.528 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.007564, allocations: 190.1 kB / 0.5282 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.766e-05/0.007591, allocations: 55.36 kB / 0.5283 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.00761, allocations: 7.984 kB / 0.5283 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.00767, allocations: 86.19 kB / 0.5283 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.00767, allocations: 0 / 0.5283 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.002311/0.009982, allocations: 1.038 MB / 0.5294 GB, free: 9.449 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.733127309009433]