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.0009213/0.0009213, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009813/0.0009813, allocations: 174.1 kB / 24.84 MB, free: 9.297 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.9281/0.9281, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.6131/0.6131, allocations: 115 MB / 376.8 MB, free: 7.48 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.703e-06/1.703e-06, allocations: 0 / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.143e-05, allocations: 3.719 kB / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00247/0.002491, allocations: 1.466 MB / 484.2 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008396/0.003331, allocations: 467.4 kB / 484.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.003377, allocations: 3.812 kB / 484.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.003408, allocations: 3.938 kB / 484.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.003498, allocations: 7.875 kB / 484.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.003656, allocations: 19.97 kB / 484.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.003781, allocations: 48.89 kB / 484.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003882, allocations: 11.86 kB / 484.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.003987, allocations: 34.45 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.004058, allocations: 11.95 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.004083, allocations: 3.312 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.004097, allocations: 4.781 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.004126, allocations: 10.19 kB / 484.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.004166, allocations: 15.47 kB / 484.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.004283, allocations: 39.23 kB / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004285, allocations: 0 / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004286, allocations: 0 / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.00429, allocations: 0 / 484.8 MB, free: 10.38 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.0004566/0.004746, allocations: 423.9 kB / 485.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.00479, allocations: 10.53 kB / 485.3 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.004829, allocations: 5.781 kB / 485.3 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.193e-05/0.004901, allocations: 120.9 kB / 485.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.004913, allocations: 1.438 kB / 485.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.004924, allocations: 3.562 kB / 485.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.193e-05/0.005016, allocations: 72.8 kB / 485.5 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.005026, allocations: 0.75 kB / 485.5 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.005035, allocations: 6.422 kB / 485.5 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.005042, allocations: 5 kB / 485.5 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.242e-05/0.005084, allocations: 36.22 kB / 485.5 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.005348, allocations: 249.9 kB / 485.7 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.811e-05/0.005416, allocations: 63.28 kB / 485.8 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.005444, allocations: 48.12 kB / 485.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.005457, allocations: 1.906 kB / 485.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.005569, allocations: 136.5 kB / 486 MB, free: 9.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.005571, allocations: 1.219 kB / 486 MB, free: 9.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002423/0.005813, allocations: 184 kB / 486.2 MB, free: 9.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.005847, allocations: 88.69 kB / 486.3 MB, free: 8.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.006064, allocations: 177.2 kB / 486.4 MB, free: 24.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.006073, allocations: 26.8 kB / 486.5 MB, free: 24.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.006119, allocations: 129.2 kB / 486.6 MB, free: 24.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.00614, allocations: 27.53 kB / 486.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.00618, allocations: 27.61 kB / 486.6 MB, free: 24.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.006324, allocations: 0.4944 MB / 487.1 MB, free: 24.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.006354, allocations: 37.34 kB / 487.2 MB, free: 24.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.006392, allocations: 64.19 kB / 487.2 MB, free: 24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/0.006466, allocations: 116.3 kB / 487.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.006468, allocations: 0 / 487.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001459/0.006614, allocations: 141.2 kB / 487.5 MB, free: 23.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.006647, allocations: 39.7 kB / 487.5 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.006652, allocations: 1.031 kB / 487.5 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.006663, allocations: 1.031 kB / 487.5 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.175e-05/0.006705, allocations: 8.594 kB / 487.5 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.006708, allocations: 2.688 kB / 487.5 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.006761, allocations: 7.422 kB / 487.5 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.006769, allocations: 3.156 kB / 487.5 MB, free: 23.73 MB / 426.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.615e-05/0.006865, allocations: 193.8 kB / 487.7 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.006888, allocations: 14.08 kB / 487.7 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.006912, allocations: 14.69 kB / 487.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.006914, allocations: 1.906 kB / 487.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006916, allocations: 0 / 487.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.00692, allocations: 0 / 487.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.007265, allocations: 393.6 kB / 488.2 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.007266, allocations: 64 / 488.2 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.007274, allocations: 5.219 kB / 488.2 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.007279, allocations: 5.25 kB / 488.2 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.007288, allocations: 4.812 kB / 488.2 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.00729, allocations: 2.312 kB / 488.2 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.007292, allocations: 0 / 488.2 MB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.007518, allocations: 311.7 kB / 488.5 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.007531, allocations: 11.67 kB / 488.5 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.007556, allocations: 1.562 kB / 488.5 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-05/0.007646, allocations: 10.31 kB / 488.5 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.007686, allocations: 11.08 kB / 488.5 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.007701, allocations: 2.469 kB / 488.5 MB, free: 22.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.448e-05/0.007756, allocations: 128.1 kB / 488.6 MB, free: 22.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007756, allocations: 1.312 kB / 488.6 MB, free: 22.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.008023, allocations: 13.38 kB / 488.6 MB, free: 22.75 MB / 426.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.22e-05/0.008115, allocations: 105.5 kB / 488.8 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.008298, allocations: 169.2 kB / 488.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0083, allocations: 1.156 kB / 488.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.00838, allocations: 114.1 kB / 489 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.008688, allocations: 21.3 kB / 489 MB, free: 22.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.008974, allocations: 189.9 kB / 489.2 MB, free: 22.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.009009, allocations: 56.23 kB / 489.3 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.893e-05/0.009038, allocations: 6.438 kB / 489.3 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.009123, allocations: 86.58 kB / 489.4 MB, free: 22.09 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.009124, allocations: 1.188 kB / 489.4 MB, free: 22.09 MB / 426.7 MB Notification: Performance of Templates: time 0.00334/0.01246, allocations: 1.041 MB / 490.4 MB, free: 21.99 MB / 426.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.3456736519001424]