Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009209/0.0009209, allocations: 77.08 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001242/0.002163, allocations: 452 kB / 10.43 MB, free: 264 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.0006989/0.0006989, allocations: 161.1 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009563/0.001655, allocations: 483.5 kB / 11.8 MB, free: 2.359 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.9326/0.9326, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08287/1.015, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5869/0.5869, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05842/0.6453, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.145e-05, allocations: 2.312 kB / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002934/0.002955, allocations: 1.525 MB / 405.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007726/0.003728, allocations: 474.6 kB / 405.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.003776, allocations: 0 / 405.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.003803, allocations: 7.938 kB / 405.7 MB, free: 8.973 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.003865, allocations: 7.875 kB / 405.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.003978, allocations: 19.91 kB / 405.7 MB, free: 8.945 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.004113, allocations: 55.84 kB / 405.8 MB, free: 8.891 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.004196, allocations: 8 kB / 405.8 MB, free: 8.883 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.004309, allocations: 39.84 kB / 405.8 MB, free: 8.844 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.004382, allocations: 23.91 kB / 405.8 MB, free: 8.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.004405, allocations: 4 kB / 405.8 MB, free: 8.816 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.004418, allocations: 4 kB / 405.8 MB, free: 8.812 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.00444, allocations: 4 kB / 405.8 MB, free: 8.809 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.004474, allocations: 11.94 kB / 405.8 MB, free: 8.797 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.004584, allocations: 27.86 kB / 405.9 MB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.004598, allocations: 0 / 405.9 MB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.004599, allocations: 0 / 405.9 MB, free: 8.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.004611, allocations: 0 / 405.9 MB, free: 8.77 MB / 394.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.0005286/0.005139, allocations: 302.2 kB / 406.2 MB, free: 8.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.005173, allocations: 8.031 kB / 406.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.005217, allocations: 8.922 kB / 406.2 MB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.00532, allocations: 113.7 kB / 406.3 MB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.005333, allocations: 4.375 kB / 406.3 MB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.005347, allocations: 8.312 kB / 406.3 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.00546, allocations: 71.94 kB / 406.4 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.005467, allocations: 192 / 406.4 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.005477, allocations: 4.375 kB / 406.4 MB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.005484, allocations: 7.938 kB / 406.4 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.005524, allocations: 37.69 kB / 406.4 MB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.005803, allocations: 152.2 kB / 406.6 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.579e-05/0.005879, allocations: 60.28 kB / 406.6 MB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.005912, allocations: 46.67 kB / 406.7 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.005927, allocations: 0 / 406.7 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.006064, allocations: 122.7 kB / 406.8 MB, free: 7.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.006066, allocations: 0 / 406.8 MB, free: 7.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001866/0.006252, allocations: 170.6 kB / 407 MB, free: 7.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.006323, allocations: 170.2 kB / 407.1 MB, free: 7.312 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.34e-05/0.006396, allocations: 114.7 kB / 407.2 MB, free: 7.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.006412, allocations: 25.7 kB / 407.3 MB, free: 7.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.006446, allocations: 80.14 kB / 407.4 MB, free: 7.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.006468, allocations: 19.89 kB / 407.4 MB, free: 7.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.00651, allocations: 29.69 kB / 407.4 MB, free: 7.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.006606, allocations: 322.8 kB / 407.7 MB, free: 6.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.006638, allocations: 33.7 kB / 407.7 MB, free: 6.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.586e-05/0.006684, allocations: 68.14 kB / 407.8 MB, free: 6.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/0.006768, allocations: 109.9 kB / 407.9 MB, free: 6.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.00677, allocations: 0 / 407.9 MB, free: 6.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001244/0.006895, allocations: 125 kB / 408 MB, free: 6.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.006932, allocations: 33.7 kB / 408.1 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.006938, allocations: 3.938 kB / 408.1 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.006952, allocations: 0 / 408.1 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.006997, allocations: 11.94 kB / 408.1 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.007, allocations: 0 / 408.1 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.007054, allocations: 11.94 kB / 408.1 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.007061, allocations: 4.391 kB / 408.1 MB, free: 6.234 MB / 394.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 9.016e-05/0.007151, allocations: 147.6 kB / 408.3 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.007169, allocations: 7.984 kB / 408.3 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.007204, allocations: 16.38 kB / 408.3 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.007206, allocations: 0 / 408.3 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007207, allocations: 0 / 408.3 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00721, allocations: 0 / 408.3 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.007512, allocations: 290.1 kB / 408.6 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.007517, allocations: 4.062 kB / 408.6 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-06/0.007527, allocations: 4 kB / 408.6 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.007538, allocations: 7.891 kB / 408.6 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.007541, allocations: 7.938 kB / 408.6 MB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.007552, allocations: 7.984 kB / 408.6 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007554, allocations: 0 / 408.6 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.007555, allocations: 0 / 408.6 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.007714, allocations: 222.9 kB / 408.8 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.007735, allocations: 3.938 kB / 408.8 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.007826, allocations: 11.98 kB / 408.8 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.007862, allocations: 7.984 kB / 408.8 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.007878, allocations: 4 kB / 408.8 MB, free: 5.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.309e-05/0.007902, allocations: 16.98 kB / 408.9 MB, free: 5.402 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007902, allocations: 11.88 kB / 408.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000209/0.008111, allocations: 16 kB / 408.9 MB, free: 5.375 MB / 394.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 0.0001002/0.008211, allocations: 84.41 kB / 409 MB, free: 5.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.00837, allocations: 151.7 kB / 409.1 MB, free: 5.109 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.00838, allocations: 0 / 409.1 MB, free: 5.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.00846, allocations: 117.9 kB / 409.2 MB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.008708, allocations: 105.1 kB / 409.3 MB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.009183, allocations: 194.3 kB / 409.5 MB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.169e-05/0.009225, allocations: 59.34 kB / 409.6 MB, free: 4.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.112e-05/0.009256, allocations: 7.938 kB / 409.6 MB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.961e-05/0.009336, allocations: 63.38 kB / 409.6 MB, free: 4.48 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009337, allocations: 0 / 409.6 MB, free: 4.48 MB / 394.7 MB Notification: Performance of Templates: time 0.003135/0.01247, allocations: 0.9846 MB / 410.6 MB, free: 3.5 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9610983366146684]