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.00101/0.00101, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001027/0.001027, allocations: 181 kB / 23.35 MB, free: 1.137 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/1, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.9079/0.9079, allocations: 154.9 MB / 415.1 MB, free: 224 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.653e-06/1.653e-06, allocations: 0 / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.472e-05, allocations: 2.312 kB / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00324/0.003265, allocations: 1.528 MB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007954/0.00406, allocations: 469.8 kB / 482.3 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.0041, allocations: 0 / 482.3 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.004127, allocations: 5.875 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.004219, allocations: 7.594 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.004371, allocations: 23.86 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.004476, allocations: 51.59 kB / 482.4 MB, free: 4.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.004552, allocations: 9 kB / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.087e-05/0.004643, allocations: 35.45 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.004714, allocations: 17.45 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.004735, allocations: 4.625 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.004745, allocations: 4.656 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.004765, allocations: 7.938 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.004796, allocations: 13.23 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.004897, allocations: 39.83 kB / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004899, allocations: 0 / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.0049, allocations: 0 / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004904, allocations: 3.031 kB / 482.6 MB, free: 4.359 MB / 442.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.0003856/0.005289, allocations: 289.7 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.005323, allocations: 8.031 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.005352, allocations: 8.922 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.005436, allocations: 109.8 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.005447, allocations: 4.375 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.005453, allocations: 1.031 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.005544, allocations: 84.77 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005551, allocations: 192 / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.005559, allocations: 384 / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.005564, allocations: 4.812 kB / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.005603, allocations: 37.69 kB / 483.1 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.00585, allocations: 161.1 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.376e-05/0.005914, allocations: 61.27 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.005938, allocations: 39.31 kB / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.005951, allocations: 4.531 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.006066, allocations: 118.8 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.006068, allocations: 0.6562 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001875/0.006256, allocations: 167.2 kB / 483.6 MB, free: 3.133 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.006293, allocations: 81.11 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.006365, allocations: 119.5 kB / 483.8 MB, free: 2.906 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.006382, allocations: 30.27 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.00642, allocations: 84.12 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.00644, allocations: 16.48 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.006483, allocations: 29.69 kB / 484 MB, free: 2.734 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.00663, allocations: 319.6 kB / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.006666, allocations: 37.7 kB / 484.3 MB, free: 2.371 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.006713, allocations: 58.05 kB / 484.4 MB, free: 2.301 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.98e-05/0.006793, allocations: 109.9 kB / 484.5 MB, free: 2.172 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.006796, allocations: 4 kB / 484.5 MB, free: 2.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001143/0.006911, allocations: 122.5 kB / 484.6 MB, free: 2.031 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.006948, allocations: 33.7 kB / 484.7 MB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.006957, allocations: 5.062 kB / 484.7 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.006969, allocations: 0.75 kB / 484.7 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.007017, allocations: 19.92 kB / 484.7 MB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.007022, allocations: 0.9375 kB / 484.7 MB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.007063, allocations: 4 kB / 484.7 MB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.007069, allocations: 5 kB / 484.7 MB, free: 1.961 MB / 442.7 MB 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 8.508e-05/0.007154, allocations: 148.2 kB / 484.8 MB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.007166, allocations: 4.688 kB / 484.9 MB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.007187, allocations: 12.38 kB / 484.9 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.007189, allocations: 4.688 kB / 484.9 MB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.007191, allocations: 0 / 484.9 MB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.007195, allocations: 8.562 kB / 484.9 MB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.007422, allocations: 290 kB / 485.2 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.007425, allocations: 8 kB / 485.2 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-06/0.007431, allocations: 0 / 485.2 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.007434, allocations: 3.938 kB / 485.2 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.00744, allocations: 0.75 kB / 485.2 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007441, allocations: 4 kB / 485.2 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.007442, allocations: 0.8125 kB / 485.2 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.007572, allocations: 222.9 kB / 485.4 MB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.007583, allocations: 9.141 kB / 485.4 MB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.007599, allocations: 7.938 kB / 485.4 MB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.854e-05/0.007658, allocations: 7.984 kB / 485.4 MB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.007693, allocations: 12.86 kB / 485.4 MB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.007704, allocations: 0 / 485.4 MB, free: 1.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.946e-05/0.007724, allocations: 17.88 kB / 485.4 MB, free: 1.141 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007724, allocations: 0 / 485.4 MB, free: 1.141 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.007859, allocations: 12 kB / 485.5 MB, free: 1.129 MB / 442.7 MB 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 8.241e-05/0.007941, allocations: 89.59 kB / 485.5 MB, free: 1.035 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.008074, allocations: 152.3 kB / 485.7 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.008078, allocations: 0.8125 kB / 485.7 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.403e-05/0.008142, allocations: 109.9 kB / 485.8 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.008309, allocations: 20.31 kB / 485.8 MB, free: 0.7148 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.008587, allocations: 181.4 kB / 486 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.008625, allocations: 59.34 kB / 486.1 MB, free: 444 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.497e-05/0.00865, allocations: 4 kB / 486.1 MB, free: 440 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.008715, allocations: 71.89 kB / 486.1 MB, free: 368 kB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/0.008716, allocations: 0 / 486.1 MB, free: 368 kB / 442.7 MB Notification: Performance of Templates: time 0.006892/0.01561, allocations: 0.9659 MB / 487.1 MB, free: 15.47 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6897145649418235]