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.001069/0.001069, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001004/0.001004, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.9144/0.9144, allocations: 177.1 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5925/0.5925, allocations: 115 MB / 376 MB, free: 7.449 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.432e-06/1.432e-06, allocations: 0 / 428.7 MB, free: 2.848 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.645e-05, allocations: 10.25 kB / 428.7 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001656/0.001672, allocations: 1.474 MB / 430.1 MB, free: 1.348 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005767/0.002249, allocations: 466.7 kB / 430.6 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.002281, allocations: 0 / 430.6 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.002305, allocations: 3.938 kB / 430.6 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.002376, allocations: 7.922 kB / 430.6 MB, free: 0.875 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.00249, allocations: 27.86 kB / 430.6 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.00258, allocations: 51.84 kB / 430.7 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.958e-05/0.00264, allocations: 4 kB / 430.7 MB, free: 0.793 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.002711, allocations: 35.89 kB / 430.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.002763, allocations: 15.92 kB / 430.7 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.002779, allocations: 7.938 kB / 430.7 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.002788, allocations: 4 kB / 430.8 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.002808, allocations: 4 kB / 430.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.002843, allocations: 19.92 kB / 430.8 MB, free: 0.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 8.439e-05/0.002927, allocations: 31.95 kB / 430.8 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002929, allocations: 4 kB / 430.8 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002929, allocations: 0 / 430.8 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.002932, allocations: 0 / 430.8 MB, free: 0.6719 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.0003198/0.003252, allocations: 286.5 kB / 431.1 MB, free: 372 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.003279, allocations: 12.03 kB / 431.1 MB, free: 360 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.003302, allocations: 4.938 kB / 431.1 MB, free: 356 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.817e-05/0.00337, allocations: 113.7 kB / 431.2 MB, free: 216 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.003379, allocations: 384 / 431.2 MB, free: 216 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.003389, allocations: 8.312 kB / 431.2 MB, free: 208 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.38e-05/0.003463, allocations: 83.88 kB / 431.3 MB, free: 112 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.003468, allocations: 192 / 431.3 MB, free: 112 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.003473, allocations: 384 / 431.3 MB, free: 112 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.003478, allocations: 3.938 kB / 431.3 MB, free: 108 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.003503, allocations: 37.69 kB / 431.4 MB, free: 64 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.00371, allocations: 152.4 kB / 431.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/0.003761, allocations: 68.31 kB / 431.6 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.003792, allocations: 46.62 kB / 431.6 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.003802, allocations: 0 / 431.6 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.09e-05/0.003893, allocations: 126.7 kB / 431.7 MB, free: 15.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.003894, allocations: 4 kB / 431.7 MB, free: 15.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001285/0.004023, allocations: 158.6 kB / 431.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.00406, allocations: 89.09 kB / 432 MB, free: 15.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/0.004111, allocations: 114.8 kB / 432.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.00412, allocations: 25.7 kB / 432.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.004145, allocations: 84.14 kB / 432.2 MB, free: 15.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.004159, allocations: 19.89 kB / 432.2 MB, free: 15.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.004187, allocations: 25.69 kB / 432.2 MB, free: 15.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.004249, allocations: 322.8 kB / 432.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.004268, allocations: 37.69 kB / 432.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.004297, allocations: 60.22 kB / 432.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.623e-05/0.004354, allocations: 109.9 kB / 432.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004355, allocations: 0 / 432.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.48e-05/0.00443, allocations: 121 kB / 432.9 MB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.004453, allocations: 37.7 kB / 432.9 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.004459, allocations: 7.922 kB / 432.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.004469, allocations: 0 / 432.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.957e-05/0.004499, allocations: 7.938 kB / 432.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.004503, allocations: 4.062 kB / 432.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.004537, allocations: 11.95 kB / 432.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.004541, allocations: 0 / 432.9 MB, free: 14.25 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.874e-05/0.00461, allocations: 147.5 kB / 433.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.004621, allocations: 11.94 kB / 433.1 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.004641, allocations: 12.38 kB / 433.1 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.004644, allocations: 3.984 kB / 433.1 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.004645, allocations: 0 / 433.1 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.004648, allocations: 0 / 433.1 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.00485, allocations: 282.2 kB / 433.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004851, allocations: 0 / 433.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-06/0.004855, allocations: 4 kB / 433.4 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.004857, allocations: 3.938 kB / 433.4 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.004862, allocations: 4 kB / 433.4 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.004863, allocations: 0 / 433.4 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.004864, allocations: 0 / 433.4 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.23e-05/0.004956, allocations: 222.9 kB / 433.6 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.004965, allocations: 11.89 kB / 433.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.004978, allocations: 3.938 kB / 433.6 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.557e-05/0.005024, allocations: 7.984 kB / 433.6 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.005051, allocations: 11.98 kB / 433.7 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.005062, allocations: 12.06 kB / 433.7 MB, free: 13.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.233e-05/0.005075, allocations: 12.84 kB / 433.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005075, allocations: 0 / 433.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001207/0.005195, allocations: 20 kB / 433.7 MB, free: 13.41 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.956e-05/0.005265, allocations: 84.34 kB / 433.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.005388, allocations: 151.7 kB / 433.9 MB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.00539, allocations: 0 / 433.9 MB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.005441, allocations: 113.9 kB / 434 MB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.005575, allocations: 16.5 kB / 434.1 MB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.005794, allocations: 182.2 kB / 434.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.182e-05/0.005826, allocations: 67.2 kB / 434.3 MB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.998e-05/0.005846, allocations: 4 kB / 434.3 MB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/0.005932, allocations: 63.36 kB / 434.4 MB, free: 12.63 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005933, allocations: 0 / 434.4 MB, free: 12.63 MB / 410.7 MB Notification: Performance of Templates: time 0.002287/0.00822, allocations: 0.9924 MB / 435.4 MB, free: 11.64 MB / 410.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.2494950932450593]