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.007254/0.007254, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001201/0.001201, allocations: 199.4 kB / 16.68 MB, free: 5.965 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.436/1.436, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.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.555/1.555, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.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.001467/0.001467, allocations: 64.47 kB / 0.7257 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2273, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002777/0.2301, allocations: 1.467 MB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008521/0.231, allocations: 495.6 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.231, allocations: 0 / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.2311, allocations: 3.938 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.02e-05/0.2312, allocations: 7.938 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.2314, allocations: 23.91 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.2315, allocations: 47.86 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2316, allocations: 19.97 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.331e-05/0.2317, allocations: 27.92 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.2318, allocations: 15.92 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.2318, allocations: 4 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.2318, allocations: 4 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.2319, allocations: 15.92 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.2319, allocations: 19.92 kB / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.2321, allocations: 47.75 kB / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2321, allocations: 0 / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2321, allocations: 0 / 0.8301 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.2321, allocations: 0 / 0.8301 GB, free: 14.03 MB / 0.6544 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.0005931/0.2327, allocations: 375.2 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2327, allocations: 8.031 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.2328, allocations: 4.938 kB / 0.8305 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2329, allocations: 168.3 kB / 0.8307 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.233, allocations: 8.297 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.233, allocations: 8.375 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.2331, allocations: 58 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2331, allocations: 0 / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.2332, allocations: 3.938 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2332, allocations: 4 kB / 0.8308 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.2332, allocations: 27.97 kB / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.2338, allocations: 296.8 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.2339, allocations: 58.59 kB / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.2339, allocations: 28.92 kB / 0.8312 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.234, allocations: 4 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.2341, allocations: 67.39 kB / 0.8312 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.2341, allocations: 3.938 kB / 0.8312 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002309/0.2344, allocations: 101.6 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.2344, allocations: 59.34 kB / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.2345, allocations: 105.8 kB / 0.8315 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2345, allocations: 33.7 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.2346, allocations: 88.12 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.2346, allocations: 27.78 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.2347, allocations: 25.72 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2348, allocations: 318.8 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.2348, allocations: 20 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.2349, allocations: 43.8 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.235, allocations: 71.36 kB / 0.8321 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.235, allocations: 0 / 0.8321 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001416/0.2351, allocations: 93.56 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2352, allocations: 11.94 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2352, allocations: 0 / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2352, allocations: 0 / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.2353, allocations: 16 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2353, allocations: 7.984 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.2354, allocations: 12.02 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2354, allocations: 8 kB / 0.8322 GB, free: 11.66 MB / 0.6544 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 9.317e-05/0.2355, allocations: 119.5 kB / 0.8323 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.2355, allocations: 7.953 kB / 0.8323 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.2355, allocations: 7.969 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2355, allocations: 0 / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2355, allocations: 0 / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2356, allocations: 3.984 kB / 0.8324 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.236, allocations: 370.3 kB / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.236, allocations: 0 / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.236, allocations: 7.938 kB / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.236, allocations: 288 / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.236, allocations: 0 / 0.8327 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2361, allocations: 3.938 kB / 0.8327 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2361, allocations: 0 / 0.8327 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.2362, allocations: 191.4 kB / 0.8329 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.2363, allocations: 81.11 kB / 0.833 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2363, allocations: 0 / 0.833 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.2364, allocations: 15.92 kB / 0.833 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.2364, allocations: 7.984 kB / 0.833 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.2365, allocations: 0 / 0.833 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.2365, allocations: 83.28 kB / 0.8331 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2365, allocations: 4 kB / 0.8331 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002366/0.2367, allocations: 12.14 kB / 0.8331 GB, free: 10.66 MB / 0.6544 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 9.564e-05/0.2369, allocations: 110.5 kB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.237, allocations: 63.8 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.237, allocations: 0 / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/0.2371, allocations: 23.98 kB / 0.8333 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.2373, allocations: 8 kB / 0.8333 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.2377, allocations: 157.4 kB / 0.8334 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.238, allocations: 0.6922 MB / 0.8341 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.238, allocations: 4 kB / 0.8341 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.2381, allocations: 15.44 kB / 0.8341 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2381, allocations: 0 / 0.8341 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of Templates: time 0.002829/0.2409, allocations: 0.7838 MB / 0.8349 GB, free: 8.758 MB / 0.6544 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)