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.001903/0.001903, allocations: 85.48 kB / 19.44 MB, free: 344 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.002039/0.002039, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.632/1.632, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.341/1.341, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 178] 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.913e-06/1.913e-06, allocations: 0 / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.496e-05/3.687e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003214/0.003251, allocations: 1.457 MB / 0.521 GB, free: 1.133 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009738/0.004224, allocations: 452.8 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.004263, allocations: 0 / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.004295, allocations: 8.484 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.401e-05/0.004389, allocations: 12.53 kB / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.00456, allocations: 19.97 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.004694, allocations: 49.09 kB / 0.5215 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.004792, allocations: 7.938 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.004898, allocations: 31.86 kB / 0.5215 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.004987, allocations: 24.77 kB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.005012, allocations: 4 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.005026, allocations: 5.125 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.005058, allocations: 8 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.005107, allocations: 11.94 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.005266, allocations: 40.67 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.005274, allocations: 4 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005274, allocations: 0.7188 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.005279, allocations: 0 / 0.5216 GB, free: 480 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.0007516/0.00603, allocations: 415.5 kB / 0.522 GB, free: 24 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.006078, allocations: 12.03 kB / 0.522 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.006144, allocations: 15.58 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.006314, allocations: 112.6 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.00633, allocations: 384 / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.006345, allocations: 4.375 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.006512, allocations: 83.94 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.006523, allocations: 192 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006534, allocations: 384 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.006541, allocations: 7.875 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.006632, allocations: 47 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.007127, allocations: 275.7 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.007255, allocations: 76.75 kB / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.007328, allocations: 58.05 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.00735, allocations: 1.031 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.007558, allocations: 136.4 kB / 0.5228 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.023e-06/0.00756, allocations: 1.25 kB / 0.5228 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004087/0.007969, allocations: 214.7 kB / 0.523 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.00805, allocations: 77.11 kB / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.008208, allocations: 178 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.008231, allocations: 34.2 kB / 0.5233 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.008328, allocations: 131.8 kB / 0.5234 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.008363, allocations: 27.86 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.008429, allocations: 39.36 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002739/0.008703, allocations: 0.4941 MB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.008761, allocations: 37.7 kB / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/0.008851, allocations: 76.75 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.009009, allocations: 127.5 kB / 0.5242 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.009011, allocations: 4 kB / 0.5242 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002205/0.009232, allocations: 157.7 kB / 0.5244 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.009276, allocations: 37.69 kB / 0.5244 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.009281, allocations: 1.188 kB / 0.5244 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.009298, allocations: 0 / 0.5244 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.009362, allocations: 8.062 kB / 0.5244 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.009369, allocations: 5 kB / 0.5244 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.009424, allocations: 11.95 kB / 0.5244 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.009436, allocations: 6.75 kB / 0.5244 GB, free: 13.28 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.0001644/0.009601, allocations: 198.2 kB / 0.5246 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.009622, allocations: 7.938 kB / 0.5246 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.009658, allocations: 12.44 kB / 0.5246 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009659, allocations: 0 / 0.5246 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.009663, allocations: 0 / 0.5246 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.009669, allocations: 7.922 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.01018, allocations: 439.3 kB / 0.5251 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01019, allocations: 0 / 0.5251 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-06/0.01019, allocations: 0 / 0.5251 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.0102, allocations: 4 kB / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01021, allocations: 0 / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.01021, allocations: 3.984 kB / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01021, allocations: 0 / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.01055, allocations: 320.4 kB / 0.5254 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.01056, allocations: 11.89 kB / 0.5254 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.01059, allocations: 4 kB / 0.5254 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.01068, allocations: 12.64 kB / 0.5254 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.01074, allocations: 3.984 kB / 0.5254 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.01075, allocations: 11.44 kB / 0.5254 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.977e-05/0.01084, allocations: 127.2 kB / 0.5255 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01084, allocations: 0 / 0.5255 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002227/0.01107, allocations: 16 kB / 0.5256 GB, free: 12.03 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.0001285/0.01119, allocations: 101.1 kB / 0.5257 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.01148, allocations: 186.4 kB / 0.5258 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01148, allocations: 0 / 0.5258 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.01162, allocations: 131.3 kB / 0.526 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.01192, allocations: 19.92 kB / 0.526 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.01237, allocations: 199.6 kB / 0.5262 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.743e-05/0.01246, allocations: 71.33 kB / 0.5262 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.01248, allocations: 0.75 kB / 0.5262 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.01252, allocations: 12.5 kB / 0.5263 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.01252, allocations: 1.281 kB / 0.5263 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.004233/0.01675, allocations: 0.9397 MB / 0.5272 GB, free: 10.33 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: 6.404860188951716]