Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009232/0.0009232, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009395/0.0009395, allocations: 169 kB / 23.49 MB, free: 1.059 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 0.9069/0.9069, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001624/0.001624, allocations: 233.2 kB / 260.5 MB, free: 12.87 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7065/0.7065, allocations: 138.4 MB / 455.4 MB, free: 1.547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.555 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.803e-05, allocations: 2.312 kB / 0.555 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001748/0.001766, allocations: 1.474 MB / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005756/0.002342, allocations: 470.8 kB / 0.5569 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.002381, allocations: 0 / 0.5569 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.002404, allocations: 0 / 0.5569 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.491e-05/0.002479, allocations: 11.86 kB / 0.5569 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.002622, allocations: 27.84 kB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.002725, allocations: 47.8 kB / 0.5569 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.002806, allocations: 11.98 kB / 0.557 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.002882, allocations: 31.92 kB / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.718e-05/0.00294, allocations: 11.98 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.002959, allocations: 4 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.00297, allocations: 4 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.002993, allocations: 11.91 kB / 0.557 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.003026, allocations: 12 kB / 0.557 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003128, allocations: 35.83 kB / 0.5571 GB, free: 14.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.00313, allocations: 4 kB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003131, allocations: 0 / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.003134, allocations: 3.938 kB / 0.5571 GB, free: 14.77 MB / 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.0004209/0.003555, allocations: 418.2 kB / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.003591, allocations: 12.75 kB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.003632, allocations: 8.938 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.466e-05/0.003716, allocations: 120.5 kB / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.003727, allocations: 384 / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.003738, allocations: 4.375 kB / 0.5576 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.003838, allocations: 71.95 kB / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.003843, allocations: 192 / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.003852, allocations: 384 / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.003859, allocations: 7.938 kB / 0.5577 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.003902, allocations: 45.62 kB / 0.5577 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.004217, allocations: 259.8 kB / 0.558 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/0.004283, allocations: 64.77 kB / 0.558 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.004317, allocations: 49.5 kB / 0.5581 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.004332, allocations: 0 / 0.5581 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.004449, allocations: 144.3 kB / 0.5582 GB, free: 13.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.00445, allocations: 0 / 0.5582 GB, free: 13.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002252/0.004675, allocations: 190.7 kB / 0.5584 GB, free: 13.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.004714, allocations: 77.11 kB / 0.5585 GB, free: 13.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.004794, allocations: 181.8 kB / 0.5587 GB, free: 12.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.004806, allocations: 29.7 kB / 0.5587 GB, free: 12.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.004853, allocations: 134.9 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.00487, allocations: 15.89 kB / 0.5588 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.453e-05/0.004904, allocations: 35.38 kB / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.005002, allocations: 496.1 kB / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.005032, allocations: 41.69 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.005076, allocations: 72.75 kB / 0.5594 GB, free: 12.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.005146, allocations: 106.4 kB / 0.5595 GB, free: 11.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.005149, allocations: 8 kB / 0.5596 GB, free: 11.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001224/0.005271, allocations: 157.3 kB / 0.5597 GB, free: 11.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.005297, allocations: 33.7 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.005302, allocations: 3.984 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.005311, allocations: 0 / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.839e-05/0.00535, allocations: 4 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.005356, allocations: 3.984 kB / 0.5597 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.005388, allocations: 8 kB / 0.5598 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.005393, allocations: 0 / 0.5598 GB, free: 11.68 MB / 490.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 7.579e-05/0.005469, allocations: 202.2 kB / 0.5599 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.005487, allocations: 23.88 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.005504, allocations: 4.438 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.005506, allocations: 0 / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.00551, allocations: 4 kB / 0.56 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.005514, allocations: 0 / 0.56 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.006042, allocations: 424.8 kB / 0.5604 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.006045, allocations: 3.984 kB / 0.5604 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-06/0.006048, allocations: 0 / 0.5604 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.00605, allocations: 0 / 0.5604 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.006059, allocations: 4 kB / 0.5604 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.00606, allocations: 4 kB / 0.5604 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.006061, allocations: 0 / 0.5604 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.006211, allocations: 319.4 kB / 0.5607 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.006221, allocations: 7.953 kB / 0.5607 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.006241, allocations: 11.98 kB / 0.5607 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.9e-05/0.00629, allocations: 4 kB / 0.5607 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.00633, allocations: 7.984 kB / 0.5607 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.006341, allocations: 0 / 0.5607 GB, free: 10.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.703e-05/0.006378, allocations: 135.2 kB / 0.5609 GB, free: 10.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006378, allocations: 0 / 0.5609 GB, free: 10.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.006528, allocations: 16 kB / 0.5609 GB, free: 10.44 MB / 490.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 6.768e-05/0.006596, allocations: 99.25 kB / 0.561 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.00674, allocations: 170.4 kB / 0.5611 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006742, allocations: 0 / 0.5611 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.006802, allocations: 120.7 kB / 0.5612 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.006999, allocations: 11.94 kB / 0.5613 GB, free: 9.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.00726, allocations: 195.7 kB / 0.5614 GB, free: 9.754 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.232e-05/0.007293, allocations: 63.48 kB / 0.5615 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.036e-05/0.007313, allocations: 4 kB / 0.5615 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.007339, allocations: 12.48 kB / 0.5615 GB, free: 9.652 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.00734, allocations: 0 / 0.5615 GB, free: 9.652 MB / 490.7 MB Notification: Performance of Templates: time 0.002306/0.009646, allocations: 0.9473 MB / 0.5624 GB, free: 8.727 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.331936954986304]