Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006447/0.006447, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 190.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.89 kB / 0.7257 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7577, allocations: 104.7 MB / 0.828 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003066/0.7609, allocations: 1.474 MB / 0.8294 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.7618, allocations: 0.4899 MB / 0.8299 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.7619, allocations: 0 / 0.8299 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.57e-05/0.762, allocations: 3.938 kB / 0.8299 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.7621, allocations: 7.938 kB / 0.8299 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.7623, allocations: 27.91 kB / 0.83 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.7625, allocations: 47.91 kB / 0.83 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.7626, allocations: 19.92 kB / 0.83 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.7627, allocations: 19.98 kB / 0.83 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.246e-05/0.7628, allocations: 27.73 kB / 0.8301 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.7628, allocations: 4 kB / 0.8301 GB, free: 500 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.7629, allocations: 4 kB / 0.8301 GB, free: 496 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.7629, allocations: 11.98 kB / 0.8301 GB, free: 484 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.763, allocations: 31.86 kB / 0.8301 GB, free: 452 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.7631, allocations: 39.39 kB / 0.8302 GB, free: 416 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.7631, allocations: 0 / 0.8302 GB, free: 416 kB / 0.6231 GB Notification: Performance of FrontEnd: time 3.386e-06/0.7632, allocations: 0 / 0.8302 GB, free: 416 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.7632, allocations: 4 kB / 0.8302 GB, free: 412 kB / 0.6231 GB 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.000676/0.7639, allocations: 353.7 kB / 0.8305 GB, free: 12 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.7639, allocations: 8.031 kB / 0.8305 GB, free: 4 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.7639, allocations: 4.938 kB / 0.8305 GB, free: 0 / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.7642, allocations: 176.3 kB / 0.8307 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.7642, allocations: 8.359 kB / 0.8307 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.7642, allocations: 8.312 kB / 0.8307 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.7644, allocations: 58 kB / 0.8307 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7644, allocations: 0 / 0.8307 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.7644, allocations: 4 kB / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7644, allocations: 0 / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.14e-05/0.7645, allocations: 23.98 kB / 0.8308 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.7651, allocations: 304.7 kB / 0.8311 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.7652, allocations: 62.48 kB / 0.8311 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.7652, allocations: 24.94 kB / 0.8311 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.7653, allocations: 0 / 0.8311 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.7655, allocations: 83.23 kB / 0.8312 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.7655, allocations: 4 kB / 0.8312 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0002767/0.7657, allocations: 101.5 kB / 0.8313 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.7658, allocations: 59.41 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.7659, allocations: 101.8 kB / 0.8315 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.7659, allocations: 29.7 kB / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.766, allocations: 88.05 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.766, allocations: 19.8 kB / 0.8316 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.7661, allocations: 25.72 kB / 0.8316 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7662, allocations: 322.8 kB / 0.8319 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/0.7663, allocations: 20 kB / 0.832 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.7663, allocations: 39.42 kB / 0.832 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.7664, allocations: 67.36 kB / 0.8321 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7665, allocations: 0 / 0.8321 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001672/0.7666, allocations: 105.5 kB / 0.8322 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7667, allocations: 8 kB / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.7667, allocations: 0 / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.7667, allocations: 0 / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.7668, allocations: 8 kB / 0.8322 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.7668, allocations: 4 kB / 0.8322 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.7669, allocations: 11.92 kB / 0.8322 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.7669, allocations: 4 kB / 0.8322 GB, free: 14.06 MB / 0.6387 GB 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.0001223/0.767, allocations: 125.7 kB / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.767, allocations: 11.94 kB / 0.8323 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.7671, allocations: 7.969 kB / 0.8323 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.7671, allocations: 288 / 0.8323 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.7671, allocations: 3.938 kB / 0.8323 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7671, allocations: 0 / 0.8323 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.7676, allocations: 366.3 kB / 0.8327 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7676, allocations: 3.984 kB / 0.8327 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.7676, allocations: 4 kB / 0.8327 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7676, allocations: 4 kB / 0.8327 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.7677, allocations: 0 / 0.8327 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.7677, allocations: 3.938 kB / 0.8327 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7677, allocations: 480 / 0.8327 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.7678, allocations: 183.5 kB / 0.8329 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.7679, allocations: 89.02 kB / 0.833 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.7679, allocations: 0 / 0.833 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.768, allocations: 15.92 kB / 0.833 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.7681, allocations: 11.98 kB / 0.833 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.7681, allocations: 0 / 0.833 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.7681, allocations: 87.22 kB / 0.8331 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7681, allocations: 4 kB / 0.8331 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002326/0.7684, allocations: 11.94 kB / 0.8331 GB, free: 13.05 MB / 0.6387 GB 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.0001548/0.7685, allocations: 104.3 kB / 0.8332 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.7687, allocations: 55.92 kB / 0.8332 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7687, allocations: 0 / 0.8332 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.835e-05/0.7688, allocations: 28 kB / 0.8333 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.7691, allocations: 12.14 kB / 0.8333 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.7695, allocations: 153.6 kB / 0.8334 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.7698, allocations: 0.6922 MB / 0.8341 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.7698, allocations: 3.953 kB / 0.8341 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.7699, allocations: 15.44 kB / 0.8341 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.7699, allocations: 4 kB / 0.8341 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of Templates: time 0.003641/0.7735, allocations: 0.7845 MB / 0.8349 GB, free: 11.15 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)