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.001029/0.001029, allocations: 104.5 kB / 16.36 MB, free: 6.004 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.001004/0.001004, allocations: 198.5 kB / 17.3 MB, free: 5.609 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.369/1.369, allocations: 205.1 MB / 223.2 MB, free: 12.12 MB / 190.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.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001485/0.001485, allocations: 71.89 kB / 0.6729 GB, free: 5.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2092, allocations: 114.6 MB / 0.7848 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002898/0.2121, allocations: 1.461 MB / 0.7862 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007938/0.213, allocations: 487.7 kB / 0.7867 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.213, allocations: 0 / 0.7867 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.2131, allocations: 3.938 kB / 0.7867 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.2132, allocations: 7.922 kB / 0.7867 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.2133, allocations: 23.92 kB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.976e-05/0.2134, allocations: 59.84 kB / 0.7868 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2135, allocations: 11.98 kB / 0.7868 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.2136, allocations: 23.91 kB / 0.7868 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.2137, allocations: 23.86 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.2137, allocations: 4 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.2137, allocations: 4 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.2137, allocations: 11.98 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.2138, allocations: 23.88 kB / 0.7869 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.74e-05/0.2139, allocations: 39.86 kB / 0.7869 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2139, allocations: 4 kB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2139, allocations: 4 kB / 0.7869 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2139, allocations: 0 / 0.7869 GB, free: 1.035 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.0004658/0.2144, allocations: 359.4 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2144, allocations: 8.031 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.2145, allocations: 12.78 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.2146, allocations: 176.3 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2146, allocations: 384 / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2146, allocations: 8.359 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.2148, allocations: 65.98 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2148, allocations: 0 / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2148, allocations: 7.938 kB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2148, allocations: 0 / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/0.2149, allocations: 27.92 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3428/0.5577, allocations: 297.8 kB / 0.7878 GB, free: 49.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.5579, allocations: 57.41 kB / 0.7879 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.558, allocations: 28.47 kB / 0.7879 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.558, allocations: 0 / 0.7879 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.5582, allocations: 77.47 kB / 0.788 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.5582, allocations: 0 / 0.788 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002114/0.5584, allocations: 98.08 kB / 0.7881 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.5585, allocations: 57.47 kB / 0.7881 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.151e-05/0.5585, allocations: 107.1 kB / 0.7882 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.5585, allocations: 29.17 kB / 0.7883 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.5586, allocations: 88.67 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.5586, allocations: 24.69 kB / 0.7884 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.5587, allocations: 28.8 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.5587, allocations: 319.5 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.5587, allocations: 19.98 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.5588, allocations: 45.77 kB / 0.7888 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.976e-05/0.5589, allocations: 68.88 kB / 0.7888 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5589, allocations: 0 / 0.7888 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000113/0.559, allocations: 97.39 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.559, allocations: 6.281 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.559, allocations: 0.5938 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.559, allocations: 2.938 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.5591, allocations: 17.06 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.5591, allocations: 0 / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.5592, allocations: 15.53 kB / 0.789 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.5592, allocations: 5.109 kB / 0.789 GB, free: 48.21 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 5.349e-05/0.5593, allocations: 123 kB / 0.7891 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.5593, allocations: 3.094 kB / 0.7891 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.5593, allocations: 7.781 kB / 0.7891 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5593, allocations: 2 kB / 0.7891 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5593, allocations: 0 / 0.7891 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.5594, allocations: 6.812 kB / 0.7891 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.5597, allocations: 359.4 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5597, allocations: 0.5938 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.5597, allocations: 4.547 kB / 0.7894 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5597, allocations: 8.359 kB / 0.7895 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5597, allocations: 6.562 kB / 0.7895 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5597, allocations: 0.875 kB / 0.7895 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5597, allocations: 0 / 0.7895 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.5599, allocations: 180.6 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.5599, allocations: 80.64 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.5599, allocations: 9.656 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.56, allocations: 6.938 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.56, allocations: 8.219 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.5601, allocations: 4.75 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.5601, allocations: 87.78 kB / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5601, allocations: 0 / 0.7898 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002313/0.5603, allocations: 15.66 kB / 0.7898 GB, free: 47.49 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 7.188e-05/0.5604, allocations: 101.3 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.5605, allocations: 54.02 kB / 0.79 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5605, allocations: 0.6875 kB / 0.79 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.5606, allocations: 31.62 kB / 0.79 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.5609, allocations: 9.781 kB / 0.79 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.5612, allocations: 159.9 kB / 0.7902 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.883e-05/0.5613, allocations: 0.6811 MB / 0.7908 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.562e-05/0.5613, allocations: 10.42 kB / 0.7909 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.5613, allocations: 10.09 kB / 0.7909 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.5614, allocations: 0 / 0.7909 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.002471/0.5638, allocations: 0.778 MB / 0.7916 GB, free: 46.59 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)