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.0006554/0.0006554, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008781/0.001534, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006918/0.0006918, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009202/0.001612, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8994/0.8994, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07493/0.9744, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001297/0.001297, allocations: 231.7 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.002491, allocations: 479.6 kB / 244.8 MB, free: 14.05 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6869/0.6869, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06364/0.7505, allocations: 42.41 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.372e-06/1.372e-06, allocations: 0 / 428 MB, free: 4.527 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.98e-05, allocations: 2.312 kB / 428 MB, free: 4.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.0024/0.00242, allocations: 1.533 MB / 429.5 MB, free: 2.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006462/0.003066, allocations: 470.6 kB / 430 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.003099, allocations: 4 kB / 430 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.003122, allocations: 3.938 kB / 430 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.00317, allocations: 7.938 kB / 430 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.699e-05/0.003257, allocations: 23.86 kB / 430 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.003368, allocations: 55.78 kB / 430.1 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.003432, allocations: 3.984 kB / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.56e-05/0.003528, allocations: 39.92 kB / 430.1 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.003592, allocations: 19.89 kB / 430.2 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.003613, allocations: 4 kB / 430.2 MB, free: 2.352 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.003626, allocations: 4 kB / 430.2 MB, free: 2.348 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.003647, allocations: 8 kB / 430.2 MB, free: 2.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.00368, allocations: 15.94 kB / 430.2 MB, free: 2.324 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.492e-05/0.003775, allocations: 31.86 kB / 430.2 MB, free: 2.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.003784, allocations: 0 / 430.2 MB, free: 2.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003785, allocations: 0 / 430.2 MB, free: 2.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.003791, allocations: 0 / 430.2 MB, free: 2.293 MB / 410.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.0003625/0.004154, allocations: 298.2 kB / 430.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.00418, allocations: 15.92 kB / 430.5 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.004208, allocations: 8.938 kB / 430.5 MB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.566e-05/0.004274, allocations: 117.7 kB / 430.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.004281, allocations: 384 / 430.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.00429, allocations: 4.375 kB / 430.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.376e-05/0.004364, allocations: 75.94 kB / 430.7 MB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-06/0.004368, allocations: 4.125 kB / 430.7 MB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.004374, allocations: 384 / 430.7 MB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.004378, allocations: 3.938 kB / 430.7 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.691e-05/0.004405, allocations: 37.69 kB / 430.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.004612, allocations: 164.2 kB / 430.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.386e-05/0.004666, allocations: 52.36 kB / 431 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.004689, allocations: 50.53 kB / 431 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.004703, allocations: 0 / 431 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.496e-05/0.004798, allocations: 126.8 kB / 431.2 MB, free: 1.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 8.32e-07/0.004798, allocations: 0 / 431.2 MB, free: 1.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001282/0.004927, allocations: 162.7 kB / 431.3 MB, free: 1.035 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.004982, allocations: 166.2 kB / 431.5 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.183e-05/0.005034, allocations: 114.7 kB / 431.6 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.005045, allocations: 29.7 kB / 431.6 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.00507, allocations: 80.14 kB / 431.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.005089, allocations: 27.84 kB / 431.7 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.005115, allocations: 29.69 kB / 431.8 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.005183, allocations: 314.8 kB / 432.1 MB, free: 220 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.005202, allocations: 41.69 kB / 432.1 MB, free: 172 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.03e-05/0.005233, allocations: 60.25 kB / 432.2 MB, free: 96 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1801/0.1853, allocations: 102.5 kB / 432.3 MB, free: 2.691 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1853, allocations: 0 / 432.3 MB, free: 2.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001303/0.1855, allocations: 127.9 kB / 432.4 MB, free: 2.598 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.1855, allocations: 33.39 kB / 432.4 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1855, allocations: 5.312 kB / 432.4 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1855, allocations: 2.172 kB / 432.4 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.031e-05/0.1855, allocations: 9.25 kB / 432.4 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1856, allocations: 1.812 kB / 432.4 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.1856, allocations: 6.359 kB / 432.4 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.1856, allocations: 3.812 kB / 432.5 MB, free: 2.566 MB / 410.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 6.338e-05/0.1857, allocations: 147.8 kB / 432.6 MB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.1857, allocations: 12.16 kB / 432.6 MB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.1857, allocations: 8.906 kB / 432.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1857, allocations: 5.406 kB / 432.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1857, allocations: 0 / 432.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1857, allocations: 0 / 432.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1859, allocations: 290 kB / 432.9 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1859, allocations: 1.125 kB / 432.9 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-06/0.1859, allocations: 5.797 kB / 432.9 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.1859, allocations: 5.859 kB / 432.9 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1859, allocations: 1.75 kB / 432.9 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1859, allocations: 3.688 kB / 432.9 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1859, allocations: 2.578 kB / 432.9 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.186, allocations: 4.719 kB / 432.9 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.06e-05/0.186, allocations: 226.9 kB / 433.2 MB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1861, allocations: 3.969 kB / 433.2 MB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.1861, allocations: 10.39 kB / 433.2 MB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.1861, allocations: 7.656 kB / 433.2 MB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1861, allocations: 7.219 kB / 433.2 MB, free: 1.973 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.638e-05/0.1862, allocations: 16.12 kB / 433.2 MB, free: 1.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1862, allocations: 0.9844 kB / 433.2 MB, free: 1.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001356/0.1863, allocations: 15 kB / 433.2 MB, free: 1.965 MB / 410.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.87e-05/0.1864, allocations: 82.08 kB / 433.3 MB, free: 1.898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.933e-05/0.1865, allocations: 163.7 kB / 433.5 MB, free: 1.766 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1865, allocations: 2.656 kB / 433.5 MB, free: 1.766 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.1865, allocations: 113.8 kB / 433.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.1867, allocations: 98.66 kB / 433.7 MB, free: 1.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.187, allocations: 190.8 kB / 433.8 MB, free: 1.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.152e-05/0.1871, allocations: 60.92 kB / 433.9 MB, free: 1.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.483e-05/0.1871, allocations: 4.125 kB / 433.9 MB, free: 1.355 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.1871, allocations: 70.41 kB / 434 MB, free: 1.312 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1871, allocations: 0 / 434 MB, free: 1.312 MB / 410.7 MB Notification: Performance of Templates: time 0.002435/0.1896, allocations: 0.9897 MB / 435 MB, free: 1.285 MB / 410.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.162034503184259]