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.001191/0.001191, allocations: 77.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.001334/0.001334, 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 0.9346/0.9346, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7876/0.7876, allocations: 154.6 MB / 415.6 MB, free: 0.5039 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.242e-06/1.242e-06, allocations: 0 / 0.5215 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.891e-05, allocations: 6.25 kB / 0.5215 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001789/0.001808, allocations: 1.457 MB / 0.5229 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000601/0.002409, allocations: 457.6 kB / 0.5233 GB, free: 80 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.002449, allocations: 2.031 kB / 0.5233 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.002476, allocations: 3.938 kB / 0.5234 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.002557, allocations: 15.88 kB / 0.5234 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.002686, allocations: 15.92 kB / 0.5234 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.002793, allocations: 61.08 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.475e-05/0.002867, allocations: 0 / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.002941, allocations: 39.84 kB / 0.5235 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.002999, allocations: 11.98 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.003016, allocations: 1.469 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.003024, allocations: 4 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.003048, allocations: 11.94 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.003079, allocations: 15.97 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.33e-05/0.003172, allocations: 36.81 kB / 0.5236 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003174, allocations: 0 / 0.5236 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003175, allocations: 0.9688 kB / 0.5236 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003179, allocations: 0 / 0.5236 GB, free: 15.87 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.0004148/0.003594, allocations: 415.2 kB / 0.524 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.003624, allocations: 8.031 kB / 0.524 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.003656, allocations: 9.516 kB / 0.524 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.73e-05/0.003733, allocations: 121.1 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.003746, allocations: 12.31 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.003753, allocations: 1.406 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.192e-05/0.003835, allocations: 75.94 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.003842, allocations: 1.281 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.003849, allocations: 384 / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.003856, allocations: 7.938 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.886e-05/0.003885, allocations: 34.31 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.00414, allocations: 248.4 kB / 0.5244 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.405e-05/0.004204, allocations: 74.14 kB / 0.5245 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.00423, allocations: 41.52 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.004243, allocations: 4 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.004352, allocations: 126.2 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 7.71e-07/0.004353, allocations: 0 / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002103/0.004563, allocations: 190.9 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.004603, allocations: 85.09 kB / 0.5249 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.004673, allocations: 171.7 kB / 0.5251 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.004685, allocations: 29.7 kB / 0.5251 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.00473, allocations: 134.9 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.004744, allocations: 15.8 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.004778, allocations: 39.34 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.004889, allocations: 496.9 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.004914, allocations: 45.62 kB / 0.5258 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.004951, allocations: 66.16 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.188e-05/0.005012, allocations: 106.4 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005015, allocations: 1.344 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001076/0.005122, allocations: 145 kB / 0.5261 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.005149, allocations: 37.64 kB / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005153, allocations: 1.031 kB / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.005161, allocations: 0 / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.227e-05/0.005193, allocations: 12.92 kB / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.005196, allocations: 0 / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.005232, allocations: 11.95 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.005237, allocations: 7.25 kB / 0.5262 GB, free: 12.84 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 9.647e-05/0.005333, allocations: 194.2 kB / 0.5264 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.005347, allocations: 8 kB / 0.5264 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.005372, allocations: 8.375 kB / 0.5264 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.005375, allocations: 4 kB / 0.5264 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.005377, allocations: 3.938 kB / 0.5264 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.005381, allocations: 0 / 0.5264 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.005704, allocations: 401.3 kB / 0.5268 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.005706, allocations: 3.031 kB / 0.5268 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-06/0.005711, allocations: 3.984 kB / 0.5268 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.005715, allocations: 7.938 kB / 0.5268 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.005721, allocations: 0 / 0.5268 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.005723, allocations: 4.062 kB / 0.5268 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.005724, allocations: 0 / 0.5268 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.00587, allocations: 303.2 kB / 0.5271 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.005881, allocations: 11.89 kB / 0.5271 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.005894, allocations: 9.422 kB / 0.5271 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.005948, allocations: 8 kB / 0.5271 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.005981, allocations: 7.984 kB / 0.5271 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.005992, allocations: 5.531 kB / 0.5271 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.006027, allocations: 127.2 kB / 0.5273 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006028, allocations: 0 / 0.5273 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001447/0.006172, allocations: 16 kB / 0.5273 GB, free: 11.64 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 7.582e-05/0.006248, allocations: 106.7 kB / 0.5274 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.006387, allocations: 162.4 kB / 0.5275 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-06/0.006389, allocations: 0.625 kB / 0.5275 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.714e-05/0.006446, allocations: 113.4 kB / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.00663, allocations: 14.47 kB / 0.5277 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.006865, allocations: 194.1 kB / 0.5278 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/0.006896, allocations: 63.34 kB / 0.5279 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.83e-05/0.006914, allocations: 0 / 0.5279 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.00698, allocations: 90.19 kB / 0.528 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.00698, allocations: 0 / 0.528 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.002327/0.009308, allocations: 1.034 MB / 0.529 GB, free: 9.836 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.4523126776330173]