Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001065/0.001065, allocations: 193 kB / 16.13 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 275.1 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 94.16 kB / 0.5945 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1666, allocations: 86.98 MB / 0.6794 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002423/0.169, allocations: 1.523 MB / 0.6809 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000357/0.1694, allocations: 137 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.1695, allocations: 0 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/0.1695, allocations: 2.75 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.23e-05/0.1696, allocations: 7.922 kB / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.1698, allocations: 23.97 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.1699, allocations: 43.86 kB / 0.6811 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.17, allocations: 27.77 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.17, allocations: 7.938 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.1701, allocations: 27.91 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1701, allocations: 0 / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.1702, allocations: 27.97 kB / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.1702, allocations: 16.8 kB / 0.6812 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.1702, allocations: 15.88 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1704, allocations: 64.5 kB / 0.6813 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1704, allocations: 4 kB / 0.6813 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1704, allocations: 1.406 kB / 0.6813 GB, free: 15.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1704, allocations: 0 / 0.6813 GB, free: 15.22 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004408/0.1708, allocations: 360 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1709, allocations: 8.031 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.172, allocations: 221.1 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1721, allocations: 160.4 kB / 0.682 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1721, allocations: 4.375 kB / 0.682 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.1721, allocations: 4.312 kB / 0.682 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.1727, allocations: 198 kB / 0.6822 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1727, allocations: 4.188 kB / 0.6822 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1727, allocations: 3.938 kB / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1727, allocations: 0 / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/0.1736, allocations: 283.5 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/0.1744, allocations: 437.3 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1755, allocations: 290.1 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.1759, allocations: 100.8 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1759, allocations: 4 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1759, allocations: 34.56 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.176, allocations: 0 / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.00115/0.1771, allocations: 309.2 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.1772, allocations: 55.41 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.1772, allocations: 113.8 kB / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1773, allocations: 29.7 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.1773, allocations: 96.02 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1773, allocations: 11.89 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1774, allocations: 13.72 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.1775, allocations: 326.8 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.1779, allocations: 91.88 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.1782, allocations: 99.88 kB / 0.6844 GB, free: 11.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.1789, allocations: 168.9 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1789, allocations: 0 / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007239/0.1796, allocations: 217.4 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1796, allocations: 4 kB / 0.6848 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1796, allocations: 7.938 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1797, allocations: 4 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.1799, allocations: 35.88 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1799, allocations: 4 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.1801, allocations: 31.95 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1801, allocations: 0 / 0.6849 GB, free: 11.34 MB / 494.1 MB 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 (3): * Single equations (assignments): 3 * 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 8.362e-05/0.1802, allocations: 123.5 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.1803, allocations: 7.906 kB / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.1803, allocations: 7.906 kB / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1803, allocations: 4 kB / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1804, allocations: 3.938 kB / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1804, allocations: 0 / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.1806, allocations: 209.5 kB / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1806, allocations: 0 / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.1808, allocations: 35.94 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1808, allocations: 0 / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1809, allocations: 0 / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1809, allocations: 0 / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1809, allocations: 0 / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.1817, allocations: 319.2 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.1817, allocations: 85.02 kB / 0.6856 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1817, allocations: 8 kB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.182, allocations: 23.95 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.182, allocations: 4 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.182, allocations: 3.984 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.341e-05/0.1821, allocations: 95.27 kB / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1821, allocations: 0 / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1823, allocations: 12 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB 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 (3): * Single equations (assignments): 3 * 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.0001389/0.1825, allocations: 107.2 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007544/0.1833, allocations: 187.8 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1833, allocations: 4 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.1836, allocations: 103.8 kB / 0.6862 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1839, allocations: 13.83 kB / 0.6862 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008886/0.1848, allocations: 267 kB / 0.6864 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.185, allocations: 0.6887 MB / 0.6871 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.573e-05/0.1851, allocations: 19.98 kB / 0.6871 GB, free: 8.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.1852, allocations: 11.44 kB / 0.6871 GB, free: 8.875 MB / 494.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1852, allocations: 0 / 0.6871 GB, free: 8.875 MB / 494.1 MB Notification: Performance of Templates: time 0.002707/0.1879, allocations: 0.8531 MB / 0.688 GB, free: 8.027 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)