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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009723/0.0009723, allocations: 183.8 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 0.5783 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007744/0.0007743, allocations: 92.84 kB / 0.6829 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 16.23 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2258, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001751/0.2277, allocations: 1.185 MB / 0.902 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007242/0.2284, allocations: 471.7 kB / 0.9024 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.2285, allocations: 4 kB / 0.9024 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.2285, allocations: 0 / 0.9024 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.2286, allocations: 11.92 kB / 0.9024 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.2288, allocations: 11.98 kB / 0.9024 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.229, allocations: 51.84 kB / 0.9025 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2291, allocations: 4 kB / 0.9025 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.2292, allocations: 19.92 kB / 0.9025 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.2292, allocations: 15.92 kB / 0.9025 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2293, allocations: 0 / 0.9025 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.2293, allocations: 4 kB / 0.9025 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.2293, allocations: 15.97 kB / 0.9026 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.2294, allocations: 33.64 kB / 0.9026 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.894e-05/0.2294, allocations: 27.95 kB / 0.9026 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.2295, allocations: 4 kB / 0.9026 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2295, allocations: 0 / 0.9026 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2295, allocations: 0 / 0.9026 GB, free: 62.4 MB / 0.6042 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.000537/0.23, allocations: 351.5 kB / 0.903 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2301, allocations: 12.03 kB / 0.903 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.2301, allocations: 3.906 kB / 0.903 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2302, allocations: 179 kB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.2303, allocations: 4 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2303, allocations: 4 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.2304, allocations: 53.62 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2304, allocations: 0 / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.2305, allocations: 11.92 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2305, allocations: 7.938 kB / 0.9032 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.4e-05/0.2305, allocations: 23.97 kB / 0.9032 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.2311, allocations: 312.6 kB / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2312, allocations: 54.62 kB / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.2312, allocations: 24.88 kB / 0.9036 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.2313, allocations: 4 kB / 0.9036 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.2314, allocations: 75.41 kB / 0.9037 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.2315, allocations: 0 / 0.9037 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002283/0.2317, allocations: 105.5 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.2317, allocations: 55.41 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.2318, allocations: 105.8 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2318, allocations: 29.7 kB / 0.904 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.2319, allocations: 88.14 kB / 0.9041 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.2319, allocations: 23.7 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.2319, allocations: 0 / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.232, allocations: 314.8 kB / 0.9044 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.232, allocations: 19.98 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.028e-05/0.2321, allocations: 43.42 kB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.2321, allocations: 27.94 kB / 0.9045 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2321, allocations: 0 / 0.9045 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001346/0.2323, allocations: 97.52 kB / 0.9046 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2323, allocations: 4 kB / 0.9046 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2323, allocations: 4 kB / 0.9046 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2323, allocations: 3.953 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.2324, allocations: 8 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2324, allocations: 7.922 kB / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/0.2325, allocations: 19.92 kB / 0.9046 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.2325, allocations: 8.406 kB / 0.9046 GB, free: 60.12 MB / 0.6042 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.2326, allocations: 115.9 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.2326, allocations: 11.84 kB / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.2327, allocations: 7.969 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2327, allocations: 3.938 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2327, allocations: 7.938 kB / 0.9048 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2327, allocations: 0 / 0.9048 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.233, allocations: 362.8 kB / 0.9051 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.233, allocations: 0 / 0.9051 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.2331, allocations: 7.938 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2331, allocations: 0 / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2331, allocations: 7.953 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2331, allocations: 0 / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2331, allocations: 3.984 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.2333, allocations: 183.4 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.2333, allocations: 81.11 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2333, allocations: 4 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.2334, allocations: 11.94 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.2334, allocations: 7.984 kB / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.2335, allocations: 4 kB / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.687e-05/0.2335, allocations: 87.27 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2335, allocations: 0 / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002243/0.2337, allocations: 20 kB / 0.9055 GB, free: 59.11 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.2338, allocations: 96.23 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.234, allocations: 51.92 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.234, allocations: 0 / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.234, allocations: 28.11 kB / 0.9057 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.2343, allocations: 12.34 kB / 0.9057 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.2347, allocations: 218.2 kB / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.2349, allocations: 0.6809 MB / 0.9066 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.235, allocations: 11.44 kB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.235, allocations: 8 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.002419/0.2374, allocations: 0.8441 MB / 0.9074 GB, free: 57.12 MB / 0.6042 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)