Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008028/0.0008028, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008343/0.0008343, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.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.0005007/0.0005007, allocations: 12.72 kB / 0.6735 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1982, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001663/0.1999, allocations: 1.172 MB / 0.7882 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006926/0.2006, allocations: 465.3 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.2007, allocations: 0 / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.2007, allocations: 7.922 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.2008, allocations: 7.984 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.2009, allocations: 15.98 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.002e-05/0.201, allocations: 27.97 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.201, allocations: 15.97 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.2011, allocations: 19.94 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.2012, allocations: 15.92 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2012, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.2012, allocations: 4 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.2012, allocations: 7.922 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.2012, allocations: 37.7 kB / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.423e-05/0.2013, allocations: 28.2 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.2013, allocations: 0 / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2013, allocations: 0 / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.2013, allocations: 0 / 0.7889 GB, free: 10.12 MB / 0.6075 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.0004406/0.2018, allocations: 362 kB / 0.7892 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2018, allocations: 8.031 kB / 0.7892 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.2019, allocations: 7.906 kB / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.202, allocations: 178.9 kB / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.202, allocations: 4 kB / 0.7894 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.202, allocations: 7.938 kB / 0.7894 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.2021, allocations: 53.69 kB / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2021, allocations: 4 kB / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2022, allocations: 3.984 kB / 0.7895 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2022, allocations: 0 / 0.7895 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.004e-05/0.2022, allocations: 35.91 kB / 0.7895 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.2027, allocations: 296.8 kB / 0.7898 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.438e-05/0.2028, allocations: 62.53 kB / 0.7898 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.2028, allocations: 0 / 0.7898 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.203, allocations: 75.5 kB / 0.7899 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.203, allocations: 0 / 0.7899 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000195/0.2032, allocations: 97.61 kB / 0.79 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.2032, allocations: 59.36 kB / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.2033, allocations: 109.8 kB / 0.7902 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2033, allocations: 29.69 kB / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.2034, allocations: 92.12 kB / 0.7903 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.2034, allocations: 23.66 kB / 0.7903 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.2034, allocations: 0 / 0.7903 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.2035, allocations: 318.8 kB / 0.7906 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.2035, allocations: 16 kB / 0.7906 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.2036, allocations: 51.36 kB / 0.7907 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.2037, allocations: 16 kB / 0.7907 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2037, allocations: 4 kB / 0.7907 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001345/0.2038, allocations: 89.67 kB / 0.7908 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2038, allocations: 6.812 kB / 0.7908 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.2038, allocations: 4 kB / 0.7908 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2038, allocations: 4 kB / 0.7908 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.2039, allocations: 19.95 kB / 0.7908 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2039, allocations: 3.953 kB / 0.7908 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.204, allocations: 15.91 kB / 0.7908 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.204, allocations: 7.938 kB / 0.7908 GB, free: 7.871 MB / 0.6075 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.047e-05/0.2041, allocations: 117.8 kB / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.2041, allocations: 0 / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.2041, allocations: 11.97 kB / 0.791 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2042, allocations: 0 / 0.791 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2042, allocations: 4.375 kB / 0.791 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2042, allocations: 3.953 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.2045, allocations: 362.3 kB / 0.7913 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2045, allocations: 0 / 0.7913 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.2046, allocations: 7.984 kB / 0.7913 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2046, allocations: 0 / 0.7913 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.2046, allocations: 8 kB / 0.7913 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2046, allocations: 7.953 kB / 0.7913 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2046, allocations: 0 / 0.7913 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.2048, allocations: 175.8 kB / 0.7915 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.2048, allocations: 88.95 kB / 0.7916 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.2048, allocations: 7.984 kB / 0.7916 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.2049, allocations: 7.984 kB / 0.7916 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.205, allocations: 11.94 kB / 0.7916 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.205, allocations: 4 kB / 0.7916 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.205, allocations: 83.28 kB / 0.7917 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.205, allocations: 4 kB / 0.7917 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002199/0.2052, allocations: 12 kB / 0.7917 GB, free: 6.867 MB / 0.6075 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 8.596e-05/0.2053, allocations: 98.34 kB / 0.7918 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.2054, allocations: 59.84 kB / 0.7919 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2055, allocations: 0 / 0.7919 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.2055, allocations: 32.05 kB / 0.7919 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.2057, allocations: 11.98 kB / 0.7919 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.206, allocations: 172.9 kB / 0.7921 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.2063, allocations: 0.6958 MB / 0.7928 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.2063, allocations: 7.938 kB / 0.7928 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.2064, allocations: 11.44 kB / 0.7928 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2064, allocations: 0 / 0.7928 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of Templates: time 0.002253/0.2086, allocations: 0.6486 MB / 0.7934 GB, free: 5.086 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: