Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.687/1.687, allocations: 287.5 MB / 302.6 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001047, allocations: 188 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007211/0.0007211, allocations: 99.62 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004379, allocations: 15.03 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001541/0.1949, allocations: 1.176 MB / 0.9798 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006786/0.1956, allocations: 464.1 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.1957, allocations: 0 / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.1957, allocations: 7.922 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.878e-05/0.1958, allocations: 0 / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.196, allocations: 23.91 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.727e-05/0.1962, allocations: 51.84 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1963, allocations: 12 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.1964, allocations: 15.92 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.1965, allocations: 15.92 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.1965, allocations: 4 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.1965, allocations: 0 / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.1965, allocations: 11.98 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.1966, allocations: 33.7 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.645e-05/0.1967, allocations: 24.22 kB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1967, allocations: 0 / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.1967, allocations: 3.938 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.1967, allocations: 3.938 kB / 0.9805 GB, free: 26.36 MB / 0.6198 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.0005324/0.1972, allocations: 363.4 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1973, allocations: 8.031 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.1973, allocations: 8.844 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1975, allocations: 168.3 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1975, allocations: 4.375 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1975, allocations: 4.375 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1976, allocations: 69.92 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1977, allocations: 3.938 kB / 0.9811 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1977, allocations: 8 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1977, allocations: 0 / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.1978, allocations: 19.98 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.1983, allocations: 312.7 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.806e-05/0.1984, allocations: 54.59 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.1984, allocations: 24.94 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1985, allocations: 4 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.1986, allocations: 71.38 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.003e-06/0.1987, allocations: 7.938 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002278/0.1989, allocations: 89.67 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.1989, allocations: 63.34 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.199, allocations: 109.8 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.199, allocations: 25.7 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.1991, allocations: 88.12 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1991, allocations: 23.66 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.1991, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.1992, allocations: 326.8 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.1992, allocations: 16 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.863e-05/0.1993, allocations: 47.36 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.659e-05/0.1994, allocations: 67.36 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1994, allocations: 3.938 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001266/0.1995, allocations: 89.61 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1995, allocations: 12.03 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1995, allocations: 0 / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1996, allocations: 0 / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.1996, allocations: 11.94 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.1996, allocations: 4.375 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.874e-05/0.1997, allocations: 15.89 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1997, allocations: 4 kB / 0.9825 GB, free: 24.03 MB / 0.6198 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 7.742e-05/0.1998, allocations: 123.1 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.1998, allocations: 11.94 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.1999, allocations: 7.969 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1999, allocations: 4 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1999, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1999, allocations: 3.984 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.2003, allocations: 366.3 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2003, allocations: 4 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.2003, allocations: 8.062 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2003, allocations: 4.281 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.2004, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2004, allocations: 3.938 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2004, allocations: 4 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.2005, allocations: 176.3 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.2005, allocations: 92.94 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2006, allocations: 4 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.2006, allocations: 11.92 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.2007, allocations: 11.98 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.2007, allocations: 4 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.774e-05/0.2008, allocations: 79.28 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2008, allocations: 0 / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002395/0.201, allocations: 19.98 kB / 0.9834 GB, free: 23.01 MB / 0.6198 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.0001019/0.2011, allocations: 103.2 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.2013, allocations: 51.92 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2013, allocations: 0 / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.578e-05/0.2013, allocations: 28.11 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.2016, allocations: 9.688 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.2021, allocations: 184.6 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2022, allocations: 0.6848 MB / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.2023, allocations: 4 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.2023, allocations: 11.44 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.2023, allocations: 0 / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.002648/0.205, allocations: 0.6541 MB / 0.9851 GB, free: 21.23 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)