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.000984/0.000984, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.002309, allocations: 447.8 kB / 10.34 MB, free: 352 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.0009871/0.0009871, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002265, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9088/0.9088, allocations: 177.1 MB / 189.6 MB, free: 3.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1502/1.059, allocations: 53.65 MB / 243.2 MB, free: 2.32 MB / 234.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.6053/0.6053, allocations: 119.1 MB / 363.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05996/0.6653, allocations: 37.86 MB / 400.9 MB, free: 15.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.743e-06/1.743e-06, allocations: 0 / 402.2 MB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.945e-05, allocations: 6.25 kB / 402.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001769/0.001789, allocations: 1.517 MB / 403.7 MB, free: 12.49 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006181/0.002407, allocations: 462.8 kB / 404.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.002442, allocations: 0 / 404.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.002463, allocations: 3.938 kB / 404.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.002513, allocations: 15.86 kB / 404.2 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.125e-05/0.002594, allocations: 19.92 kB / 404.2 MB, free: 11.99 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.002709, allocations: 63.72 kB / 404.3 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.84e-05/0.002778, allocations: 0 / 404.3 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.593e-05/0.002863, allocations: 39.91 kB / 404.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.002929, allocations: 11.97 kB / 404.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.002949, allocations: 4 kB / 404.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.002961, allocations: 4 kB / 404.3 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.00298, allocations: 7.938 kB / 404.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.003014, allocations: 12 kB / 404.3 MB, free: 11.85 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.003129, allocations: 31.84 kB / 404.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.728e-05/0.003146, allocations: 0 / 404.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.003147, allocations: 8 kB / 404.4 MB, free: 11.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.003166, allocations: 0 / 404.4 MB, free: 11.81 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.0005893/0.003755, allocations: 294.2 kB / 404.7 MB, free: 11.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.003801, allocations: 15.89 kB / 404.7 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.003843, allocations: 16.92 kB / 404.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.003942, allocations: 113.7 kB / 404.8 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.003955, allocations: 384 / 404.8 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.003965, allocations: 4.375 kB / 404.8 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.004078, allocations: 75.94 kB / 404.9 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004086, allocations: 4.188 kB / 404.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.004095, allocations: 384 / 404.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.004101, allocations: 3.938 kB / 404.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.004138, allocations: 41.67 kB / 404.9 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.004408, allocations: 164.2 kB / 405.1 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.393e-05/0.004472, allocations: 56.27 kB / 405.1 MB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.004496, allocations: 34.64 kB / 405.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.004515, allocations: 7.938 kB / 405.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.004635, allocations: 122.9 kB / 405.3 MB, free: 10.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.004636, allocations: 4 kB / 405.3 MB, free: 10.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001526/0.004789, allocations: 170.6 kB / 405.5 MB, free: 10.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.004828, allocations: 77.11 kB / 405.6 MB, free: 10.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.926e-05/0.004887, allocations: 122.7 kB / 405.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.004901, allocations: 29.7 kB / 405.7 MB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.00493, allocations: 84.09 kB / 405.8 MB, free: 10.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.004944, allocations: 19.83 kB / 405.8 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.004975, allocations: 29.69 kB / 405.8 MB, free: 10.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.005055, allocations: 314.8 kB / 406.1 MB, free: 9.828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.005079, allocations: 37.69 kB / 406.2 MB, free: 9.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.005112, allocations: 68.25 kB / 406.2 MB, free: 9.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.044e-05/0.005173, allocations: 105.9 kB / 406.3 MB, free: 9.578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005175, allocations: 0 / 406.3 MB, free: 9.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.851e-05/0.005264, allocations: 129 kB / 406.5 MB, free: 9.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.005296, allocations: 33.7 kB / 406.5 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.005302, allocations: 3.938 kB / 406.5 MB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.005311, allocations: 0 / 406.5 MB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.76e-05/0.005348, allocations: 8 kB / 406.5 MB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.005351, allocations: 0 / 406.5 MB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.005387, allocations: 12.05 kB / 406.5 MB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.005393, allocations: 8 kB / 406.5 MB, free: 9.363 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 7.059e-05/0.005464, allocations: 143.5 kB / 406.7 MB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.005476, allocations: 11.98 kB / 406.7 MB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.005499, allocations: 8.375 kB / 406.7 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005501, allocations: 4 kB / 406.7 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005502, allocations: 0 / 406.7 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005505, allocations: 0 / 406.7 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.005714, allocations: 286.1 kB / 407 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.005716, allocations: 3.984 kB / 407 MB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-06/0.005723, allocations: 8 kB / 407 MB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.005731, allocations: 11.92 kB / 407 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.005733, allocations: 4 kB / 407 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.005741, allocations: 8 kB / 407 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.005742, allocations: 0 / 407 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.005744, allocations: 0 / 407 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.005844, allocations: 222.9 kB / 407.2 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.00586, allocations: 7.938 kB / 407.2 MB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.00592, allocations: 7.984 kB / 407.2 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.005958, allocations: 4 kB / 407.3 MB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.005974, allocations: 11.98 kB / 407.3 MB, free: 8.551 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.703e-05/0.005991, allocations: 16.84 kB / 407.3 MB, free: 8.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005991, allocations: 0 / 407.3 MB, free: 8.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001312/0.006122, allocations: 12 kB / 407.3 MB, free: 8.52 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 9.052e-05/0.006213, allocations: 84.42 kB / 407.4 MB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.006365, allocations: 155.6 kB / 407.5 MB, free: 8.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.006369, allocations: 0 / 407.5 MB, free: 8.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.006431, allocations: 110 kB / 407.6 MB, free: 8.121 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.006608, allocations: 25.42 kB / 407.7 MB, free: 8.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.007048, allocations: 198.8 kB / 407.9 MB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.00708, allocations: 59.34 kB / 407.9 MB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.687e-05/0.007107, allocations: 7.984 kB / 407.9 MB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.007166, allocations: 67.36 kB / 408 MB, free: 7.719 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007167, allocations: 0 / 408 MB, free: 7.719 MB / 394.7 MB Notification: Performance of Templates: time 0.002469/0.009636, allocations: 1.008 MB / 409 MB, free: 6.742 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: 3.1250408980995417]