Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 103.5 kB / 16.29 MB, free: 6.43 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.001059/0.001059, allocations: 185.1 kB / 17.22 MB, free: 5.934 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.19/1.19, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.59/1.59, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001284/0.001284, allocations: 67.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1849, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002242/0.1872, allocations: 1.426 MB / 0.7855 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.1879, allocations: 0.5005 MB / 0.786 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.1879, allocations: 0 / 0.786 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.1879, allocations: 0 / 0.786 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.188, allocations: 11.94 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.1882, allocations: 19.92 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.1882, allocations: 27.92 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.1883, allocations: 4 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.1884, allocations: 15.91 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.224e-05/0.1884, allocations: 7.938 kB / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1884, allocations: 4 kB / 0.786 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.354e-05/0.1885, allocations: 27.97 kB / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.1885, allocations: 0 / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.1885, allocations: 15.94 kB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.923e-05/0.1886, allocations: 35.83 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1887, allocations: 7.984 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1887, allocations: 0 / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1887, allocations: 0 / 0.7861 GB, free: 1.703 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003814/0.1891, allocations: 339.7 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1891, allocations: 12.03 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.381e-05/0.1891, allocations: 0.9375 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1892, allocations: 164.4 kB / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1892, allocations: 12.38 kB / 0.7866 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.1893, allocations: 384 / 0.7866 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1894, allocations: 53.98 kB / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1894, allocations: 0 / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1894, allocations: 0 / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1894, allocations: 0 / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1896, allocations: 39.89 kB / 0.7867 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.1899, allocations: 256.8 kB / 0.787 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.19, allocations: 38.55 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.1901, allocations: 20.91 kB / 0.787 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.1902, allocations: 77.11 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1903, allocations: 38.56 kB / 0.7871 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1903, allocations: 0 / 0.7871 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003444/0.1906, allocations: 85.58 kB / 0.7872 GB, free: 412 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1907, allocations: 51.41 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.585e-05/0.1908, allocations: 101.8 kB / 0.7874 GB, free: 236 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1908, allocations: 25.7 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.1908, allocations: 96.2 kB / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.1909, allocations: 7.844 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.1909, allocations: 17.7 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.2858/0.4767, allocations: 314.8 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.4769, allocations: 10.31 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.4769, allocations: 17.02 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4771, allocations: 51.25 kB / 0.7879 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4771, allocations: 3.562 kB / 0.7879 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000172/0.4773, allocations: 62.38 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4773, allocations: 5.406 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4773, allocations: 2.25 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4773, allocations: 0 / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.4774, allocations: 11.91 kB / 0.788 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4774, allocations: 1.219 kB / 0.788 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.4775, allocations: 9.531 kB / 0.788 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4775, allocations: 0.8438 kB / 0.788 GB, free: 48.49 MB / 0.6544 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 4.671e-05/0.4775, allocations: 112.5 kB / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.4776, allocations: 2.812 kB / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.4778, allocations: 76.39 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4778, allocations: 0 / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4778, allocations: 6.688 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4778, allocations: 1.125 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.4779, allocations: 154.8 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4779, allocations: 2.75 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.4779, allocations: 8.75 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.478, allocations: 1 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.478, allocations: 0.5 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.478, allocations: 1.844 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.478, allocations: 5.625 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.4781, allocations: 169.3 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.4782, allocations: 80.23 kB / 0.7886 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.4782, allocations: 0 / 0.7886 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.4783, allocations: 9.047 kB / 0.7886 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.4783, allocations: 5.562 kB / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.4783, allocations: 3.469 kB / 0.7886 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.163e-05/0.4783, allocations: 86.38 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.4783, allocations: 0 / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002103/0.4785, allocations: 6.906 kB / 0.7887 GB, free: 47.85 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001098/0.4787, allocations: 101.9 kB / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.4788, allocations: 44.28 kB / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4789, allocations: 0 / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.727e-05/0.4789, allocations: 22.38 kB / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.4792, allocations: 4.25 kB / 0.7888 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.4794, allocations: 110.9 kB / 0.7889 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.4795, allocations: 0.6753 MB / 0.7896 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.235e-05/0.4796, allocations: 12.09 kB / 0.7896 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.4796, allocations: 10.44 kB / 0.7896 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.4796, allocations: 0 / 0.7896 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.002187/0.4818, allocations: 0.5401 MB / 0.7901 GB, free: 46.97 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)