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.0019/0.0019, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002039/0.002039, allocations: 177.2 kB / 22.76 MB, free: 1.652 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 1.598/1.598, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003435/0.003435, allocations: 233.8 kB / 259.8 MB, free: 12.86 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 1.211/1.211, allocations: 138.5 MB / 454.7 MB, free: 1.5 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 1.343e-06/1.343e-06, allocations: 0 / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/2.995e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002944/0.002974, allocations: 1.483 MB / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.004055, allocations: 466.8 kB / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.0041, allocations: 4 kB / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.004128, allocations: 3.938 kB / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.522e-05/0.004213, allocations: 3.938 kB / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.004369, allocations: 23.86 kB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.004477, allocations: 55.83 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.004574, allocations: 11.98 kB / 0.5563 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.00465, allocations: 27.92 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.004721, allocations: 23.89 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.004743, allocations: 8 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.004756, allocations: 4 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.004779, allocations: 8 kB / 0.5564 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.004823, allocations: 15.92 kB / 0.5564 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.004938, allocations: 43.86 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.004945, allocations: 4 kB / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.004947, allocations: 0 / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.004952, allocations: 4 kB / 0.5564 GB, free: 14.71 MB / 490.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.0005848/0.005536, allocations: 376.2 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.005573, allocations: 8.75 kB / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.005628, allocations: 20.88 kB / 0.5568 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.005761, allocations: 112.6 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005776, allocations: 4.375 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.005789, allocations: 4.375 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.005915, allocations: 58.23 kB / 0.557 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005923, allocations: 4.125 kB / 0.557 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.005932, allocations: 384 / 0.557 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.005939, allocations: 3.938 kB / 0.557 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.006019, allocations: 31.92 kB / 0.557 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.006538, allocations: 299.6 kB / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.006684, allocations: 67.14 kB / 0.5574 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.006738, allocations: 27.66 kB / 0.5574 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.006751, allocations: 0 / 0.5574 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.006913, allocations: 84.97 kB / 0.5575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.006914, allocations: 0 / 0.5575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002665/0.00718, allocations: 105.6 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.007242, allocations: 59.34 kB / 0.5576 GB, free: 13.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.007392, allocations: 169.9 kB / 0.5578 GB, free: 13.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.007414, allocations: 25.7 kB / 0.5578 GB, free: 13.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.007508, allocations: 146.8 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.007537, allocations: 19.86 kB / 0.558 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.007599, allocations: 35.36 kB / 0.558 GB, free: 12.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002607/0.00786, allocations: 0.4923 MB / 0.5585 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.007901, allocations: 16 kB / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.007981, allocations: 58.73 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.008102, allocations: 82.67 kB / 0.5586 GB, free: 12.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008105, allocations: 0 / 0.5586 GB, free: 12.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001824/0.008287, allocations: 101.7 kB / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.008304, allocations: 12.02 kB / 0.5587 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.008316, allocations: 7.984 kB / 0.5588 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.008328, allocations: 0 / 0.5588 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.008417, allocations: 15.94 kB / 0.5588 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.008423, allocations: 0 / 0.5588 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.008482, allocations: 15.83 kB / 0.5588 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.008494, allocations: 7.984 kB / 0.5588 GB, free: 12.04 MB / 490.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 0.0001298/0.008623, allocations: 165.6 kB / 0.559 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.008642, allocations: 11.94 kB / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.008671, allocations: 8.125 kB / 0.559 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008673, allocations: 4 kB / 0.559 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.008676, allocations: 0 / 0.559 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008679, allocations: 3.938 kB / 0.559 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.009134, allocations: 361.3 kB / 0.5593 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009135, allocations: 0 / 0.5593 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.009179, allocations: 7.984 kB / 0.5593 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.009181, allocations: 0 / 0.5593 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.009189, allocations: 0 / 0.5593 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.009191, allocations: 0 / 0.5593 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009192, allocations: 4 kB / 0.5593 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.00944, allocations: 239.8 kB / 0.5596 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.009456, allocations: 11.95 kB / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.009473, allocations: 4.062 kB / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.009548, allocations: 4 kB / 0.5596 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.0096, allocations: 7.984 kB / 0.5596 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.009608, allocations: 7.984 kB / 0.5596 GB, free: 11.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.803e-05/0.009686, allocations: 127.2 kB / 0.5597 GB, free: 11.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009687, allocations: 0 / 0.5597 GB, free: 11.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.009923, allocations: 15.94 kB / 0.5597 GB, free: 11.01 MB / 490.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 0.0001209/0.01004, allocations: 102.9 kB / 0.5598 GB, free: 10.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.01022, allocations: 67.53 kB / 0.5599 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01022, allocations: 0 / 0.5599 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.0103, allocations: 39.67 kB / 0.5599 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.01058, allocations: 7.938 kB / 0.5599 GB, free: 10.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.011, allocations: 174 kB / 0.5601 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.15e-05/0.0111, allocations: 67.34 kB / 0.5602 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.077e-05/0.01113, allocations: 8.406 kB / 0.5602 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.01117, allocations: 16.56 kB / 0.5602 GB, free: 10.47 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01117, allocations: 0 / 0.5602 GB, free: 10.47 MB / 490.7 MB Notification: Performance of Templates: time 0.003875/0.01504, allocations: 0.8302 MB / 0.561 GB, free: 9.652 MB / 490.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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.07668450998608]