Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000925/0.000925, allocations: 93.06 kB / 19.65 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.001049/0.001049, allocations: 165 kB / 23.02 MB, free: 1.551 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.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8231/0.8231, allocations: 154.6 MB / 414.5 MB, free: 0.6406 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5203 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.583e-05, allocations: 6.422 kB / 0.5203 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003172/0.003207, allocations: 1.464 MB / 0.5217 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.00413, allocations: 457.4 kB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.004177, allocations: 0 / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/0.004216, allocations: 3.938 kB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.004319, allocations: 19.86 kB / 0.5222 GB, free: 360 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.004513, allocations: 15.92 kB / 0.5222 GB, free: 344 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.004665, allocations: 56.34 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.004779, allocations: 3.984 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.004897, allocations: 36.42 kB / 0.5223 GB, free: 248 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.068e-05/0.004977, allocations: 8.859 kB / 0.5223 GB, free: 240 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.005001, allocations: 4 kB / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.005015, allocations: 4.5 kB / 0.5223 GB, free: 232 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.005049, allocations: 19.91 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.005094, allocations: 9.5 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.005237, allocations: 39.83 kB / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.00524, allocations: 0 / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005241, allocations: 0 / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.005247, allocations: 0.9375 kB / 0.5224 GB, free: 164 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.0006891/0.005936, allocations: 415.8 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.005987, allocations: 8.031 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.006046, allocations: 8.891 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.006177, allocations: 121.5 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.006195, allocations: 8.375 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.006213, allocations: 384 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.006346, allocations: 72.64 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.00636, allocations: 4.172 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.006373, allocations: 1.656 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.006386, allocations: 7.938 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.332e-05/0.00644, allocations: 37.69 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.006868, allocations: 272.2 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.006967, allocations: 69.75 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.007007, allocations: 37.39 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.00703, allocations: 4 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.007197, allocations: 145 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.007199, allocations: 4.594 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0003107/0.007509, allocations: 192.7 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.007564, allocations: 85.11 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.007667, allocations: 165.9 kB / 0.5239 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.00769, allocations: 33.69 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.00775, allocations: 130.9 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.007775, allocations: 23.8 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.007825, allocations: 32.64 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.007972, allocations: 0.4884 MB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.008014, allocations: 41.69 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.008075, allocations: 72 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.008181, allocations: 118.4 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008183, allocations: 0 / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001833/0.008366, allocations: 149 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.008406, allocations: 37.7 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.008413, allocations: 0 / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.008434, allocations: 7.031 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.008494, allocations: 7.984 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.0085, allocations: 0 / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.326e-05/0.008553, allocations: 7.953 kB / 0.525 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.008562, allocations: 4 kB / 0.5251 GB, free: 13.07 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.0001167/0.008678, allocations: 198.2 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.008701, allocations: 7.938 kB / 0.5252 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.008736, allocations: 13.94 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.008738, allocations: 0 / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.008742, allocations: 0 / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.008746, allocations: 0 / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.009156, allocations: 428.6 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009158, allocations: 0.5 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-06/0.009166, allocations: 5.031 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.00917, allocations: 0 / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.00918, allocations: 0 / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.009182, allocations: 5 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.009184, allocations: 0 / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.009429, allocations: 311.2 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.009444, allocations: 8.562 kB / 0.526 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.009468, allocations: 4.5 kB / 0.526 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.009562, allocations: 6.469 kB / 0.526 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.009616, allocations: 11.98 kB / 0.526 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.009633, allocations: 4 kB / 0.526 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.009688, allocations: 131.2 kB / 0.5261 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009688, allocations: 0 / 0.5261 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002841/0.009972, allocations: 16 kB / 0.5262 GB, free: 11.84 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.0001047/0.01008, allocations: 97.69 kB / 0.5262 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.01028, allocations: 170.5 kB / 0.5264 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01029, allocations: 0 / 0.5264 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/0.01037, allocations: 120.7 kB / 0.5265 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.0107, allocations: 26.62 kB / 0.5265 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.01109, allocations: 183.8 kB / 0.5267 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.554e-05/0.01113, allocations: 59.36 kB / 0.5268 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.01117, allocations: 7.984 kB / 0.5268 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.0112, allocations: 13.53 kB / 0.5268 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of SimCode: time 7.32e-07/0.0112, allocations: 0 / 0.5268 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.003475/0.01468, allocations: 0.9404 MB / 0.5277 GB, free: 10.2 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8254444301128387]