Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.007896/0.007896, allocations: 104.4 kB / 15.74 MB, free: 6.441 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.001727/0.001728, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.575/1.575, allocations: 205.1 MB / 222.6 MB, free: 4.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6754/0.6754, allocations: 95.48 MB / 365.4 MB, free: 9.777 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 71.89 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1925, allocations: 69.09 MB / 0.5711 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003692/0.1962, allocations: 1.459 MB / 0.5725 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1973, allocations: 483.7 kB / 0.5729 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.1974, allocations: 0 / 0.5729 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.1975, allocations: 3.938 kB / 0.573 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.1977, allocations: 7.938 kB / 0.573 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.1979, allocations: 23.89 kB / 0.573 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.198, allocations: 47.86 kB / 0.573 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1981, allocations: 19.98 kB / 0.573 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.1982, allocations: 19.98 kB / 0.5731 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.06e-05/0.1983, allocations: 23.8 kB / 0.5731 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1983, allocations: 4 kB / 0.5731 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.1984, allocations: 4 kB / 0.5731 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.1984, allocations: 15.97 kB / 0.5731 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.1985, allocations: 23.88 kB / 0.5731 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.1986, allocations: 43.81 kB / 0.5732 GB, free: 6.145 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1986, allocations: 0 / 0.5732 GB, free: 6.145 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1986, allocations: 4 kB / 0.5732 GB, free: 6.141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1987, allocations: 4 kB / 0.5732 GB, free: 6.137 MB / 446.1 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.0005509/0.1992, allocations: 355.4 kB / 0.5735 GB, free: 5.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1993, allocations: 11.98 kB / 0.5735 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.1993, allocations: 4.938 kB / 0.5735 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1995, allocations: 172.3 kB / 0.5737 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1995, allocations: 384 / 0.5737 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1995, allocations: 12.31 kB / 0.5737 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1996, allocations: 65.92 kB / 0.5738 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1997, allocations: 4 kB / 0.5738 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1997, allocations: 4 kB / 0.5738 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1997, allocations: 3.938 kB / 0.5738 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.809e-05/0.1998, allocations: 23.98 kB / 0.5738 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.2003, allocations: 300.6 kB / 0.5741 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.2004, allocations: 54.56 kB / 0.5742 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.2005, allocations: 28.94 kB / 0.5742 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2005, allocations: 0 / 0.5742 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.2007, allocations: 71.42 kB / 0.5742 GB, free: 4.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.2007, allocations: 0 / 0.5742 GB, free: 4.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002401/0.201, allocations: 97.61 kB / 0.5743 GB, free: 4.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.201, allocations: 59.41 kB / 0.5744 GB, free: 4.711 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.2011, allocations: 109.8 kB / 0.5745 GB, free: 4.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2012, allocations: 29.7 kB / 0.5745 GB, free: 4.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.2012, allocations: 84.14 kB / 0.5746 GB, free: 4.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.2012, allocations: 27.64 kB / 0.5746 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.2013, allocations: 25.72 kB / 0.5747 GB, free: 4.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2014, allocations: 322.8 kB / 0.575 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.2015, allocations: 16 kB / 0.575 GB, free: 4.074 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.634e-05/0.2016, allocations: 43.61 kB / 0.575 GB, free: 4.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.667e-05/0.2017, allocations: 71.72 kB / 0.5751 GB, free: 3.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2017, allocations: 0 / 0.5751 GB, free: 3.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001545/0.2018, allocations: 101.5 kB / 0.5752 GB, free: 3.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2019, allocations: 4 kB / 0.5752 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2019, allocations: 3.938 kB / 0.5752 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.2019, allocations: 4 kB / 0.5752 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.202, allocations: 8.031 kB / 0.5752 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.202, allocations: 7.984 kB / 0.5752 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.2021, allocations: 11.89 kB / 0.5752 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.2021, allocations: 4 kB / 0.5752 GB, free: 3.789 MB / 446.1 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.0001041/0.2022, allocations: 125.7 kB / 0.5754 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.2022, allocations: 7.938 kB / 0.5754 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.2023, allocations: 7.969 kB / 0.5754 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2023, allocations: 0 / 0.5754 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2023, allocations: 4.047 kB / 0.5754 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2023, allocations: 12 kB / 0.5754 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.2028, allocations: 362.3 kB / 0.5757 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2028, allocations: 0 / 0.5757 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.2028, allocations: 4 kB / 0.5757 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2028, allocations: 0 / 0.5757 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2029, allocations: 0 / 0.5757 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2029, allocations: 3.938 kB / 0.5757 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2029, allocations: 4 kB / 0.5757 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.2031, allocations: 183.5 kB / 0.5759 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.2032, allocations: 81.02 kB / 0.576 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2032, allocations: 0 / 0.576 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.2033, allocations: 15.92 kB / 0.576 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.2033, allocations: 7.984 kB / 0.576 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.2033, allocations: 4 kB / 0.576 GB, free: 2.875 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.47e-05/0.2034, allocations: 87.31 kB / 0.5761 GB, free: 2.789 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2034, allocations: 0 / 0.5761 GB, free: 2.789 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.2037, allocations: 16 kB / 0.5761 GB, free: 2.773 MB / 446.1 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.0001125/0.2038, allocations: 103.5 kB / 0.5762 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.2039, allocations: 55.86 kB / 0.5763 GB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.204, allocations: 4 kB / 0.5763 GB, free: 2.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.204, allocations: 27.92 kB / 0.5763 GB, free: 2.578 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.2044, allocations: 4 kB / 0.5763 GB, free: 2.574 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.205, allocations: 161.6 kB / 0.5765 GB, free: 2.391 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.2054, allocations: 0.6807 MB / 0.5771 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.482e-05/0.2055, allocations: 11.89 kB / 0.5771 GB, free: 1.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.2055, allocations: 11.44 kB / 0.5771 GB, free: 1.664 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2055, allocations: 0 / 0.5771 GB, free: 1.664 MB / 446.1 MB Notification: Performance of Templates: time 0.004044/0.2096, allocations: 0.7834 MB / 0.5779 GB, free: 0.8828 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)