Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.000892/0.0008919, allocations: 173.7 kB / 326.5 MB, free: 2.695 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.506/1.506, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0006702/0.0006702, allocations: 93.7 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 10 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1705, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001288/0.1719, allocations: 1.172 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006212/0.1725, allocations: 0.5057 MB / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.1725, allocations: 0 / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.1726, allocations: 3.938 kB / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.1726, allocations: 4 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.1728, allocations: 15.98 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.1728, allocations: 27.92 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.677e-05/0.1729, allocations: 7.984 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.1729, allocations: 7.938 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.173, allocations: 11.92 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.173, allocations: 4 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.1731, allocations: 19.98 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.1731, allocations: 0 / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.1731, allocations: 7.922 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.48e-05/0.1732, allocations: 39.83 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1732, allocations: 8 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1732, allocations: 0 / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.1732, allocations: 0 / 0.8985 GB, free: 66.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003085/0.1735, allocations: 335.4 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1736, allocations: 8.031 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.1736, allocations: 4.938 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.324e-05/0.1737, allocations: 172.2 kB / 0.899 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1737, allocations: 4.375 kB / 0.899 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1737, allocations: 8.375 kB / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1739, allocations: 53.98 kB / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1739, allocations: 0 / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1739, allocations: 7.938 kB / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1739, allocations: 0 / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.174, allocations: 43.97 kB / 0.8991 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.1743, allocations: 252.8 kB / 0.8994 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1744, allocations: 50.5 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.1745, allocations: 36.84 kB / 0.8995 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-05/0.1746, allocations: 81.09 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.1746, allocations: 34.56 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1746, allocations: 0 / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002882/0.1749, allocations: 101.6 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.722e-05/0.1749, allocations: 51.41 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.347e-05/0.175, allocations: 110 kB / 0.8998 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.175, allocations: 25.7 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/0.175, allocations: 80.14 kB / 0.8999 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.175, allocations: 7.906 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.175, allocations: 13.72 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.591e-05/0.1751, allocations: 310.8 kB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/0.1751, allocations: 23.97 kB / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.1752, allocations: 23.98 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1753, allocations: 48.89 kB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1754, allocations: 3.938 kB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001555/0.1755, allocations: 85.5 kB / 0.9004 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.1755, allocations: 4 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1755, allocations: 0 / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1756, allocations: 4.031 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.1756, allocations: 11.98 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1757, allocations: 0 / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.1757, allocations: 12 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1757, allocations: 3.984 kB / 0.9005 GB, free: 64.1 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 (2): * Single equations (assignments): 2 * 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 3.931e-05/0.1758, allocations: 113.8 kB / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.1758, allocations: 3.984 kB / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.176, allocations: 84.78 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.176, allocations: 0 / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.176, allocations: 0 / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.176, allocations: 77.11 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.176, allocations: 4 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.1761, allocations: 15.95 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.1762, allocations: 7.938 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001937/0.1764, allocations: 168.9 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001802/0.1765, allocations: 242.7 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.584e-05/0.1766, allocations: 35.92 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.077e-05/0.1767, allocations: 83.28 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of Backend: time 2.01e-07/0.1767, allocations: 3.938 kB / 0.9013 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.177, allocations: 106.4 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002996/0.1773, allocations: 0.5552 MB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.002068/0.1794, allocations: 0.5746 MB / 0.9025 GB, free: 61.94 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)