Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.624/1.624, allocations: 287.4 MB / 303.2 MB, free: 8.254 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.001119/0.001119, allocations: 181 kB / 371.8 MB, free: 10.81 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.293/1.293, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.0007435/0.0007435, allocations: 90.59 kB / 0.7438 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003317, allocations: 17.09 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1569, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006186/0.1575, allocations: 323.5 kB / 0.9796 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000197/0.1578, allocations: 39.91 kB / 0.9796 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.246e-05/0.1578, allocations: 0 / 0.9796 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.002e-05/0.1578, allocations: 7.938 kB / 0.9796 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.1578, allocations: 0 / 0.9796 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.158, allocations: 11.98 kB / 0.9797 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.761e-05/0.1581, allocations: 3.984 kB / 0.9797 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.1581, allocations: 0 / 0.9797 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.229e-05/0.1581, allocations: 4 kB / 0.9797 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.144e-05/0.1582, allocations: 0 / 0.9797 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.1582, allocations: 0 / 0.9797 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.1582, allocations: 19.97 kB / 0.9797 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.283e-06/0.1583, allocations: 4 kB / 0.9797 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.1583, allocations: 29.7 kB / 0.9797 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.011e-05/0.1583, allocations: 11.98 kB / 0.9797 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1583, allocations: 0 / 0.9797 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1584, allocations: 0 / 0.9797 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.1584, allocations: 0 / 0.9797 GB, free: 27.71 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001557/0.1585, allocations: 311.6 kB / 0.98 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1586, allocations: 8.031 kB / 0.98 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.1588, allocations: 16.91 kB / 0.98 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.451e-05/0.1588, allocations: 172.3 kB / 0.9802 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.1589, allocations: 384 / 0.9802 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.1589, allocations: 384 / 0.9802 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.159, allocations: 34.25 kB / 0.9802 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.159, allocations: 8.125 kB / 0.9802 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.159, allocations: 3.938 kB / 0.9803 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.159, allocations: 4 kB / 0.9803 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.605e-05/0.1591, allocations: 11.92 kB / 0.9803 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.733e-05/0.1592, allocations: 149.7 kB / 0.9804 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.085e-05/0.1593, allocations: 34.52 kB / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.1593, allocations: 8.922 kB / 0.9805 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.1593, allocations: 0 / 0.9805 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.1594, allocations: 38.55 kB / 0.9805 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1594, allocations: 4 kB / 0.9805 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001891/0.1596, allocations: 45.62 kB / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.318e-05/0.1596, allocations: 55.41 kB / 0.9806 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.356e-05/0.1596, allocations: 89.86 kB / 0.9807 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.1596, allocations: 25.7 kB / 0.9807 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.875e-06/0.1596, allocations: 80.14 kB / 0.9808 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1597, allocations: 7.891 kB / 0.9808 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.1597, allocations: 4.062 kB / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.253e-05/0.1597, allocations: 314.8 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.1597, allocations: 4 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/0.1598, allocations: 7.984 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.619e-05/0.1599, allocations: 16.84 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1599, allocations: 0 / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001028/0.16, allocations: 45.75 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.16, allocations: 4 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.16, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.16, allocations: 3.938 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.1601, allocations: 4 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1601, allocations: 7.922 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.1601, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1602, allocations: 4 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.107e-05/0.1602, allocations: 113.9 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.1602, allocations: 0 / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.1602, allocations: 7.125 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1602, allocations: 3.938 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1603, allocations: 0 / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.1603, allocations: 85.38 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.1603, allocations: 3.938 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.1603, allocations: 0 / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-06/0.1603, allocations: 0 / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001311/0.1605, allocations: 128.9 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001246/0.1606, allocations: 214.7 kB / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.444e-05/0.1607, allocations: 7.984 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.285e-05/0.1607, allocations: 79.34 kB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of Backend: time 2.7e-07/0.1607, allocations: 0 / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.161, allocations: 98.2 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0001632/0.1612, allocations: 0.5234 MB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.001777/0.163, allocations: 425.7 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)