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.001378/0.001378, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001606/0.001606, allocations: 169 kB / 24.25 MB, free: 308 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.9886/0.9886, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.6243/0.6243, allocations: 115 MB / 376 MB, free: 7.609 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.473e-06/1.473e-06, allocations: 0 / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.272e-05, allocations: 2.312 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001706/0.001729, allocations: 1.471 MB / 482.9 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000568/0.002297, allocations: 459.9 kB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.002333, allocations: 3.031 kB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.002357, allocations: 5.062 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.002433, allocations: 19.19 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.002582, allocations: 10.91 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.002684, allocations: 54.97 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.002766, allocations: 9.188 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.002839, allocations: 33.95 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.002897, allocations: 14.3 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.00292, allocations: 1.344 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.00293, allocations: 3.781 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.002954, allocations: 12.69 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.00299, allocations: 13.09 kB / 483.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.003092, allocations: 35.94 kB / 483.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003094, allocations: 0 / 483.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003095, allocations: 7.062 kB / 483.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003099, allocations: 0 / 483.6 MB, free: 10.58 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.0003949/0.003494, allocations: 419.9 kB / 484 MB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.003527, allocations: 10.38 kB / 484 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.003568, allocations: 9.328 kB / 484 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.862e-05/0.003637, allocations: 121.2 kB / 484.1 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.003649, allocations: 4.375 kB / 484.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.003659, allocations: 5.125 kB / 484.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.682e-05/0.003746, allocations: 74.31 kB / 484.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.003752, allocations: 192 / 484.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.00376, allocations: 384 / 484.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.003767, allocations: 6.031 kB / 484.2 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.003804, allocations: 37.25 kB / 484.3 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.004082, allocations: 270 kB / 484.5 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.006e-05/0.004142, allocations: 68.86 kB / 484.6 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.004169, allocations: 42.48 kB / 484.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.004183, allocations: 1.344 kB / 484.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.004288, allocations: 137.2 kB / 484.8 MB, free: 9.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.004289, allocations: 0 / 484.8 MB, free: 9.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002129/0.004502, allocations: 188 kB / 485 MB, free: 9.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.004531, allocations: 85.27 kB / 485 MB, free: 9.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.004744, allocations: 181.9 kB / 485.2 MB, free: 24.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.004752, allocations: 26.55 kB / 485.2 MB, free: 24.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.004792, allocations: 138 kB / 485.4 MB, free: 24.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.004807, allocations: 19.31 kB / 485.4 MB, free: 24.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.004844, allocations: 31.75 kB / 485.4 MB, free: 24.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.00494, allocations: 0.4908 MB / 485.9 MB, free: 24.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.004968, allocations: 37.33 kB / 486 MB, free: 24.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.005007, allocations: 72.3 kB / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.005068, allocations: 119 kB / 486.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.00507, allocations: 0 / 486.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001183/0.005189, allocations: 152.9 kB / 486.3 MB, free: 23.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.005217, allocations: 39.42 kB / 486.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.005221, allocations: 3.938 kB / 486.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005232, allocations: 1.844 kB / 486.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/0.005275, allocations: 4 kB / 486.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.00528, allocations: 1.562 kB / 486.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.005317, allocations: 5 kB / 486.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.005324, allocations: 6.641 kB / 486.4 MB, free: 23.91 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 7.759e-05/0.005401, allocations: 194.2 kB / 486.5 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.005417, allocations: 16.42 kB / 486.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.005439, allocations: 12.86 kB / 486.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.005441, allocations: 1.125 kB / 486.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.005444, allocations: 0 / 486.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.005447, allocations: 2.125 kB / 486.6 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.005715, allocations: 422.2 kB / 487 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.005717, allocations: 0.6875 kB / 487 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.005721, allocations: 1.312 kB / 487 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005722, allocations: 1.25 kB / 487 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.005731, allocations: 5.516 kB / 487 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.005733, allocations: 0.9375 kB / 487 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005734, allocations: 1.031 kB / 487 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.005892, allocations: 318.7 kB / 487.3 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.0059, allocations: 7.172 kB / 487.3 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.005917, allocations: 6.516 kB / 487.3 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.005972, allocations: 8.094 kB / 487.3 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.00601, allocations: 10.86 kB / 487.3 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.006023, allocations: 4.594 kB / 487.3 MB, free: 23.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.768e-05/0.006061, allocations: 133.4 kB / 487.5 MB, free: 22.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006061, allocations: 0 / 487.5 MB, free: 22.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.006216, allocations: 14.12 kB / 487.5 MB, free: 22.89 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 7.044e-05/0.006286, allocations: 94.47 kB / 487.6 MB, free: 22.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.006427, allocations: 173.7 kB / 487.8 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006429, allocations: 0 / 487.8 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.553e-05/0.006484, allocations: 118.8 kB / 487.9 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.006689, allocations: 22.12 kB / 487.9 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.006957, allocations: 191.7 kB / 488.1 MB, free: 22.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.909e-05/0.006987, allocations: 59.67 kB / 488.1 MB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.096e-05/0.007007, allocations: 7.094 kB / 488.1 MB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.007032, allocations: 12.38 kB / 488.2 MB, free: 22.29 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.007033, allocations: 0 / 488.2 MB, free: 22.29 MB / 426.7 MB Notification: Performance of Templates: time 0.002418/0.009451, allocations: 0.9386 MB / 489.1 MB, free: 22.2 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.403065756894648]