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.001764/0.001764, allocations: 88.72 kB / 19.44 MB, free: 356 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.002057/0.002057, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.612/1.612, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.215/1.215, allocations: 154.8 MB / 414.3 MB, free: 452 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 178] 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.314e-06/2.314e-06, allocations: 0 / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.128e-05/4.359e-05, allocations: 4.688 kB / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003406/0.00345, allocations: 1.443 MB / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.004545, allocations: 438.4 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.004594, allocations: 0 / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.004634, allocations: 7.922 kB / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.912e-05/0.004733, allocations: 8.469 kB / 0.5216 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.004921, allocations: 24.97 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.005079, allocations: 51.78 kB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.005194, allocations: 11.94 kB / 0.5217 GB, free: 376 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.005299, allocations: 28.45 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.005382, allocations: 22 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.005408, allocations: 4 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.005419, allocations: 0 / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.005449, allocations: 11.92 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.005503, allocations: 11.98 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.005661, allocations: 47.88 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005665, allocations: 1.344 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005666, allocations: 0 / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.005671, allocations: 0 / 0.5218 GB, free: 252 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.0008003/0.006472, allocations: 317.4 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.006521, allocations: 8.031 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.006587, allocations: 9.859 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.006746, allocations: 113.8 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.006764, allocations: 5.344 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.006777, allocations: 384 / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.006961, allocations: 83.89 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.006972, allocations: 1.188 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.006983, allocations: 384 / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.00699, allocations: 3.938 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.482e-05/0.007085, allocations: 50.34 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.007538, allocations: 213 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.007669, allocations: 73.23 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.007732, allocations: 46.69 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.007755, allocations: 0 / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.008024, allocations: 135.9 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.008025, allocations: 0 / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004292/0.008455, allocations: 207.6 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.008545, allocations: 81.11 kB / 0.5231 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.008667, allocations: 107.3 kB / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.008694, allocations: 29.7 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.008778, allocations: 88.12 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.008816, allocations: 27.78 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.008882, allocations: 27.53 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003755/0.009258, allocations: 314.8 kB / 0.5237 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/0.009337, allocations: 53.62 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.874e-05/0.009425, allocations: 71.38 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.00957, allocations: 108.1 kB / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.009572, allocations: 0 / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002488/0.009821, allocations: 168.9 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.009865, allocations: 34.45 kB / 0.5241 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.009872, allocations: 0 / 0.5241 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.009895, allocations: 1.406 kB / 0.5241 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.00995, allocations: 7.938 kB / 0.5241 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.009956, allocations: 0 / 0.5241 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.01003, allocations: 13.28 kB / 0.5241 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.01004, allocations: 4 kB / 0.5241 GB, free: 13.61 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.0001638/0.0102, allocations: 151.5 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.01023, allocations: 12.97 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.01026, allocations: 4.5 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.01027, allocations: 8 kB / 0.5243 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.01028, allocations: 0.9375 kB / 0.5243 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01028, allocations: 0 / 0.5243 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.01081, allocations: 381.5 kB / 0.5247 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01081, allocations: 3.25 kB / 0.5247 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.01083, allocations: 3.938 kB / 0.5247 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01083, allocations: 0 / 0.5247 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.01085, allocations: 8 kB / 0.5247 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01085, allocations: 0 / 0.5247 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01085, allocations: 0 / 0.5247 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.0112, allocations: 266.8 kB / 0.525 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.01123, allocations: 15.83 kB / 0.525 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.01125, allocations: 3.031 kB / 0.525 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.01136, allocations: 11.98 kB / 0.525 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.01142, allocations: 4 kB / 0.525 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.01144, allocations: 11.92 kB / 0.525 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.668e-05/0.0115, allocations: 87.28 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0115, allocations: 0 / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003037/0.01181, allocations: 12 kB / 0.5251 GB, free: 12.56 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.0001509/0.01196, allocations: 103.1 kB / 0.5252 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.01223, allocations: 166.7 kB / 0.5253 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01224, allocations: 1.281 kB / 0.5253 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.01237, allocations: 113.1 kB / 0.5255 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.01269, allocations: 11.94 kB / 0.5255 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.01318, allocations: 202.5 kB / 0.5257 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.686e-05/0.01328, allocations: 72.02 kB / 0.5257 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.01331, allocations: 4.5 kB / 0.5257 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.01334, allocations: 10.91 kB / 0.5257 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.01334, allocations: 0 / 0.5257 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.004665/0.01801, allocations: 0.9288 MB / 0.5267 GB, free: 10.92 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1721427020384]