Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009007/0.0009008, allocations: 173.8 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006834/0.000683, allocations: 88.05 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003273, allocations: 11.62 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006525/0.1749, allocations: 327.3 kB / 0.8971 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002498/0.1752, allocations: 55.8 kB / 0.8971 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.054e-05/0.1752, allocations: 4 kB / 0.8971 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.1753, allocations: 0 / 0.8971 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.1753, allocations: 0 / 0.8971 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.1755, allocations: 11.98 kB / 0.8971 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.448e-05/0.1755, allocations: 0 / 0.8971 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.1756, allocations: 3.938 kB / 0.8971 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.22e-05/0.1756, allocations: 3.938 kB / 0.8971 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.1756, allocations: 4 kB / 0.8971 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.1756, allocations: 0 / 0.8971 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.1757, allocations: 23.97 kB / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.377e-06/0.1757, allocations: 0 / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.1758, allocations: 7.984 kB / 0.8972 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.154e-05/0.1758, allocations: 7.984 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1759, allocations: 4 kB / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1759, allocations: 0 / 0.8972 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.1759, allocations: 3.938 kB / 0.8972 GB, free: 67.71 MB / 0.6042 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.0001891/0.1761, allocations: 319.8 kB / 0.8975 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1761, allocations: 8.031 kB / 0.8975 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.1763, allocations: 20.81 kB / 0.8975 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.128e-05/0.1764, allocations: 160.4 kB / 0.8977 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1764, allocations: 8.375 kB / 0.8977 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1764, allocations: 384 / 0.8977 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1766, allocations: 34.25 kB / 0.8977 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1766, allocations: 192 / 0.8977 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.1766, allocations: 3.938 kB / 0.8977 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1766, allocations: 0 / 0.8977 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.1767, allocations: 7.984 kB / 0.8977 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.596e-05/0.1768, allocations: 161.5 kB / 0.8979 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.1769, allocations: 30.53 kB / 0.8979 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.1769, allocations: 12.91 kB / 0.8979 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1769, allocations: 0 / 0.8979 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.177, allocations: 30.56 kB / 0.898 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.177, allocations: 0 / 0.898 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000212/0.1772, allocations: 61.55 kB / 0.898 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.448e-05/0.1772, allocations: 51.41 kB / 0.8981 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.534e-05/0.1772, allocations: 89.86 kB / 0.8982 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.1772, allocations: 25.7 kB / 0.8982 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.167e-06/0.1772, allocations: 80.14 kB / 0.8983 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1773, allocations: 0 / 0.8983 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.1773, allocations: 9.719 kB / 0.8983 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.1773, allocations: 314.8 kB / 0.8986 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.1774, allocations: 8.109 kB / 0.8986 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-05/0.1774, allocations: 4 kB / 0.8986 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.148e-05/0.1775, allocations: 20.84 kB / 0.8986 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1775, allocations: 0 / 0.8986 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.846e-05/0.1776, allocations: 41.62 kB / 0.8986 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1776, allocations: 4.094 kB / 0.8986 GB, free: 66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1776, allocations: 11.94 kB / 0.8986 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1777, allocations: 3.938 kB / 0.8987 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.1777, allocations: 3.984 kB / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1778, allocations: 3.984 kB / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.1778, allocations: 4 kB / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1778, allocations: 0 / 0.8987 GB, free: 65.98 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.1778, allocations: 105.8 kB / 0.8988 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.1779, allocations: 4 kB / 0.8988 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.1779, allocations: 11.11 kB / 0.8988 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1779, allocations: 3.938 kB / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1779, allocations: 4 kB / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.1779, allocations: 81.11 kB / 0.8989 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1779, allocations: 0 / 0.8989 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.178, allocations: 4 kB / 0.8989 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-06/0.178, allocations: 0 / 0.8989 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000124/0.1781, allocations: 121 kB / 0.899 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001208/0.1782, allocations: 223.4 kB / 0.8992 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.038e-05/0.1783, allocations: 3.984 kB / 0.8992 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.141e-05/0.1783, allocations: 79.28 kB / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of Backend: time 2.91e-07/0.1783, allocations: 0 / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.1787, allocations: 87.3 kB / 0.8994 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0001855/0.1789, allocations: 0.5233 MB / 0.8999 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.001934/0.1808, allocations: 437.7 kB / 0.9003 GB, free: 64.21 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)