Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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.0008811/0.0008811, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009453/0.0009453, allocations: 181.3 kB / 23.36 MB, free: 1.125 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.9566/0.9566, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002632/0.002632, allocations: 258.1 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8067/0.8067, allocations: 138.4 MB / 402.2 MB, free: 0.5781 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 1.125 kB / 462.3 MB, free: 0.957 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.689e-05, allocations: 4.484 kB / 462.3 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002563/0.00258, allocations: 1.568 MB / 463.9 MB, free: 15.95 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.0034, allocations: 484.6 kB / 464.4 MB, free: 15.65 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.003438, allocations: 0 / 464.4 MB, free: 15.65 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.003467, allocations: 3.938 kB / 464.4 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.467e-05/0.003552, allocations: 11.77 kB / 464.4 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.003695, allocations: 25.44 kB / 464.4 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.869e-05/0.003783, allocations: 49.31 kB / 464.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.485e-05/0.003868, allocations: 11.34 kB / 464.5 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.921e-05/0.003947, allocations: 38.03 kB / 464.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.004012, allocations: 12.48 kB / 464.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.004036, allocations: 3.656 kB / 464.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.004048, allocations: 4.719 kB / 464.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.004068, allocations: 9 kB / 464.5 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.004104, allocations: 20.55 kB / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.381e-05/0.004197, allocations: 39.73 kB / 464.6 MB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004201, allocations: 5.062 kB / 464.6 MB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004201, allocations: 0 / 464.6 MB, free: 15.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.004205, allocations: 0 / 464.6 MB, free: 15.55 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003344/0.004539, allocations: 253.2 kB / 464.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.004574, allocations: 10.27 kB / 464.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.004603, allocations: 7.875 kB / 464.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.004696, allocations: 117.8 kB / 465 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.004709, allocations: 8.297 kB / 465 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.00472, allocations: 5.109 kB / 465 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.004798, allocations: 48.17 kB / 465 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.004807, allocations: 0.75 kB / 465 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.004815, allocations: 3.344 kB / 465 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004821, allocations: 3.938 kB / 465 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.004854, allocations: 15.88 kB / 465 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.005144, allocations: 178.5 kB / 465.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.005222, allocations: 42.19 kB / 465.3 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.005247, allocations: 14 kB / 465.3 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.005256, allocations: 1.609 kB / 465.3 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.005358, allocations: 70.3 kB / 465.3 MB, free: 14.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.00536, allocations: 0.75 kB / 465.3 MB, free: 14.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001309/0.005491, allocations: 69.44 kB / 465.4 MB, free: 14.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.005529, allocations: 55.98 kB / 465.5 MB, free: 14.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.005594, allocations: 112.9 kB / 465.6 MB, free: 14.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.005611, allocations: 31.89 kB / 465.6 MB, free: 14.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.005647, allocations: 83.64 kB / 465.7 MB, free: 14.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.005675, allocations: 28.5 kB / 465.7 MB, free: 14.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.00572, allocations: 29.36 kB / 465.7 MB, free: 14.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.005811, allocations: 315.6 kB / 466.1 MB, free: 14.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.005832, allocations: 16.42 kB / 466.1 MB, free: 14.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.005871, allocations: 39.27 kB / 466.1 MB, free: 14.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.492e-05/0.005946, allocations: 60.73 kB / 466.2 MB, free: 14.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005949, allocations: 0 / 466.2 MB, free: 14.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001073/0.006056, allocations: 77.92 kB / 466.2 MB, free: 14.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.006068, allocations: 4.812 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.006073, allocations: 1.125 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.006088, allocations: 3.031 kB / 466.3 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.006157, allocations: 18.75 kB / 466.3 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.006161, allocations: 2.406 kB / 466.3 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.006207, allocations: 9.422 kB / 466.3 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.006215, allocations: 6.75 kB / 466.3 MB, free: 14.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.121e-05/0.006286, allocations: 117.9 kB / 466.4 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.0063, allocations: 9.078 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.006324, allocations: 10.91 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.006327, allocations: 1.031 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.006329, allocations: 1.094 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.006333, allocations: 1.531 kB / 466.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.006577, allocations: 224.2 kB / 466.6 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.006581, allocations: 5.281 kB / 466.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.006602, allocations: 6.203 kB / 466.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006604, allocations: 4.688 kB / 466.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.00661, allocations: 1.125 kB / 466.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.006612, allocations: 3.641 kB / 466.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006614, allocations: 1.922 kB / 466.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.006718, allocations: 156.7 kB / 466.8 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.006729, allocations: 11.56 kB / 466.8 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.00674, allocations: 2.844 kB / 466.8 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.006803, allocations: 3.844 kB / 466.8 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.006839, allocations: 12.86 kB / 466.9 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.006846, allocations: 6.188 kB / 466.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.437e-05/0.00686, allocations: 10.08 kB / 466.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00686, allocations: 3.938 kB / 466.9 MB, free: 13.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.007073, allocations: 15.17 kB / 466.9 MB, free: 13.56 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.602e-05/0.007149, allocations: 83.16 kB / 467 MB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.015e-05/0.007239, allocations: 41.34 kB / 467 MB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.007242, allocations: 2.062 kB / 467 MB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/0.007285, allocations: 33.48 kB / 467 MB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.007467, allocations: 16.12 kB / 467.1 MB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.007747, allocations: 146.6 kB / 467.2 MB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.234e-05/0.007789, allocations: 61.12 kB / 467.3 MB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.905e-05/0.007818, allocations: 10.06 kB / 467.3 MB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.007877, allocations: 58.17 kB / 467.3 MB, free: 13.21 MB / 426.7 MB Notification: Performance of SimCode: time 6.02e-07/0.007878, allocations: 0 / 467.3 MB, free: 13.21 MB / 426.7 MB Notification: Performance of Templates: time 0.002831/0.01071, allocations: 0.8451 MB / 468.2 MB, free: 12.68 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3790658726356924]