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.001296/0.001297, allocations: 107 kB / 16.37 MB, free: 6.453 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.001441/0.001441, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 289.2 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8919/0.8919, allocations: 169.2 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001707, allocations: 93.48 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1602, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002858/0.1631, allocations: 1.465 MB / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004148/0.1635, allocations: 132.4 kB / 0.6832 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.1636, allocations: 7.938 kB / 0.6832 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.683e-05/0.1636, allocations: 0 / 0.6832 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.1637, allocations: 7.938 kB / 0.6832 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.164, allocations: 35.89 kB / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1641, allocations: 43.84 kB / 0.6832 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1643, allocations: 19.98 kB / 0.6833 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.1643, allocations: 19.94 kB / 0.6833 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.1644, allocations: 23.84 kB / 0.6833 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1644, allocations: 4 kB / 0.6833 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.485e-05/0.1645, allocations: 31.97 kB / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.1645, allocations: 11.98 kB / 0.6834 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.1645, allocations: 19.88 kB / 0.6834 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1647, allocations: 75.66 kB / 0.6834 GB, free: 5.562 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1647, allocations: 0 / 0.6834 GB, free: 5.562 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1647, allocations: 0 / 0.6834 GB, free: 5.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1647, allocations: 0 / 0.6834 GB, free: 5.562 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.0004451/0.1652, allocations: 359.4 kB / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1652, allocations: 12.03 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009536/0.1662, allocations: 208.5 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1663, allocations: 164.4 kB / 0.6842 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1663, allocations: 8.375 kB / 0.6842 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1663, allocations: 4.375 kB / 0.6842 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.1669, allocations: 190 kB / 0.6843 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1669, allocations: 192 / 0.6843 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1669, allocations: 11.92 kB / 0.6844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1669, allocations: 4 kB / 0.6844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.1676, allocations: 283.5 kB / 0.6846 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.1685, allocations: 437.3 kB / 0.6851 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009692/0.1695, allocations: 286.2 kB / 0.6853 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.1698, allocations: 104.7 kB / 0.6854 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1698, allocations: 0 / 0.6854 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1698, allocations: 34.56 kB / 0.6855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1699, allocations: 0 / 0.6855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001021/0.1709, allocations: 313.2 kB / 0.6858 GB, free: 3.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1709, allocations: 55.39 kB / 0.6858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.171, allocations: 121.8 kB / 0.6859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.171, allocations: 25.7 kB / 0.6859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.1711, allocations: 92.08 kB / 0.686 GB, free: 2.703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.1711, allocations: 15.83 kB / 0.6861 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.1712, allocations: 14.09 kB / 0.6861 GB, free: 2.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1713, allocations: 322.7 kB / 0.6864 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.1716, allocations: 99.86 kB / 0.6865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.1719, allocations: 95.88 kB / 0.6866 GB, free: 2.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.1725, allocations: 172.6 kB / 0.6867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1725, allocations: 0 / 0.6867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006449/0.1731, allocations: 217.4 kB / 0.6869 GB, free: 1.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1732, allocations: 6.344 kB / 0.6869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1732, allocations: 0 / 0.6869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1732, allocations: 4 kB / 0.6869 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.1734, allocations: 39.88 kB / 0.687 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1735, allocations: 0 / 0.687 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.1736, allocations: 27.95 kB / 0.687 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1736, allocations: 0 / 0.687 GB, free: 1.688 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 7.873e-05/0.1737, allocations: 121.8 kB / 0.6871 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.1738, allocations: 11.91 kB / 0.6871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.1738, allocations: 7.906 kB / 0.6871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1738, allocations: 4 kB / 0.6871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1738, allocations: 0 / 0.6871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1738, allocations: 0 / 0.6871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1741, allocations: 209.5 kB / 0.6873 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1741, allocations: 0 / 0.6873 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.1743, allocations: 31.94 kB / 0.6874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1743, allocations: 4 kB / 0.6874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1743, allocations: 4 kB / 0.6874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1743, allocations: 0 / 0.6874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1743, allocations: 0 / 0.6874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.175, allocations: 319.2 kB / 0.6877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.1751, allocations: 81.02 kB / 0.6878 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1751, allocations: 0 / 0.6878 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1753, allocations: 35.95 kB / 0.6878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1753, allocations: 0 / 0.6878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1753, allocations: 7.984 kB / 0.6878 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.674e-05/0.1754, allocations: 87.28 kB / 0.6879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.1754, allocations: 4 kB / 0.6879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1756, allocations: 15.94 kB / 0.6879 GB, free: 0.6641 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.000109/0.1757, allocations: 103.2 kB / 0.688 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006636/0.1764, allocations: 200 kB / 0.6882 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1764, allocations: 0 / 0.6882 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.1767, allocations: 108.3 kB / 0.6883 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.177, allocations: 11.88 kB / 0.6883 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2411/0.4181, allocations: 255 kB / 0.6886 GB, free: 18.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.4182, allocations: 0.6878 MB / 0.6892 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.4183, allocations: 18.02 kB / 0.6892 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.4184, allocations: 14.77 kB / 0.6893 GB, free: 17.71 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4184, allocations: 3.375 kB / 0.6893 GB, free: 17.71 MB / 494.1 MB Notification: Performance of Templates: time 0.003309/0.4217, allocations: 0.9281 MB / 0.6902 GB, free: 17.69 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)