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.006938/0.006938, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001558/0.001558, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 283 kB / 290.8 MB, free: 1.809 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9397/0.9397, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 99.86 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1564, allocations: 86.98 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002699/0.1591, allocations: 1.458 MB / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.1595, allocations: 140.4 kB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.1596, allocations: 0 / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.1596, allocations: 7.938 kB / 0.768 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.1597, allocations: 3.938 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.16, allocations: 27.91 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1601, allocations: 47.91 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1603, allocations: 31.91 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.1603, allocations: 12 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.1604, allocations: 19.86 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1604, allocations: 4 kB / 0.7681 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.1605, allocations: 35.97 kB / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.1605, allocations: 7.984 kB / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1606, allocations: 19.81 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1607, allocations: 75.72 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1607, allocations: 4 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1607, allocations: 0 / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.1608, allocations: 4 kB / 0.7682 GB, free: 6.512 MB / 0.5606 GB 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.0005049/0.1613, allocations: 359.2 kB / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1613, allocations: 8.031 kB / 0.7686 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.1624, allocations: 216.5 kB / 0.7688 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.1626, allocations: 164.3 kB / 0.769 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1626, allocations: 4.375 kB / 0.769 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1626, allocations: 4.375 kB / 0.769 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.1633, allocations: 190 kB / 0.7691 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1633, allocations: 4.172 kB / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1633, allocations: 7.938 kB / 0.7692 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1633, allocations: 4 kB / 0.7692 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008853/0.1642, allocations: 279.5 kB / 0.7694 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1652, allocations: 441.1 kB / 0.7698 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.1664, allocations: 282.2 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.1668, allocations: 104.7 kB / 0.7702 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1668, allocations: 4 kB / 0.7702 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1669, allocations: 30.56 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1669, allocations: 4 kB / 0.7703 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001218/0.1681, allocations: 301.3 kB / 0.7705 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1682, allocations: 59.39 kB / 0.7706 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1683, allocations: 117.8 kB / 0.7707 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1683, allocations: 25.7 kB / 0.7707 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.1684, allocations: 95.98 kB / 0.7708 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.1684, allocations: 7.891 kB / 0.7708 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.1684, allocations: 21.66 kB / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1686, allocations: 326.8 kB / 0.7712 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.169, allocations: 99.88 kB / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.1694, allocations: 91.88 kB / 0.7713 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/0.1701, allocations: 169 kB / 0.7715 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.1701, allocations: 0 / 0.7715 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007851/0.1709, allocations: 221.7 kB / 0.7717 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1709, allocations: 6.969 kB / 0.7717 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1709, allocations: 3.938 kB / 0.7717 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1709, allocations: 4 kB / 0.7717 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.1712, allocations: 35.88 kB / 0.7718 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1712, allocations: 0 / 0.7718 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.1714, allocations: 31.86 kB / 0.7718 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1715, allocations: 0 / 0.7718 GB, free: 2.641 MB / 0.5606 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 (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 0.0001042/0.1716, allocations: 130.4 kB / 0.7719 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.1716, allocations: 3.984 kB / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.1717, allocations: 11.91 kB / 0.7719 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1717, allocations: 0 / 0.7719 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1717, allocations: 4 kB / 0.7719 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1717, allocations: 0 / 0.7719 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.1719, allocations: 205.5 kB / 0.7721 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1719, allocations: 0 / 0.7721 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.1722, allocations: 43.94 kB / 0.7722 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1722, allocations: 0 / 0.7722 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1722, allocations: 0 / 0.7722 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1722, allocations: 0 / 0.7722 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1722, allocations: 0 / 0.7722 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/0.1731, allocations: 323.1 kB / 0.7725 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.1731, allocations: 81.11 kB / 0.7726 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1732, allocations: 0 / 0.7726 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.1734, allocations: 23.95 kB / 0.7726 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1735, allocations: 4 kB / 0.7726 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1735, allocations: 7.984 kB / 0.7726 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.1735, allocations: 99.27 kB / 0.7727 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1735, allocations: 0 / 0.7727 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000258/0.1738, allocations: 15.91 kB / 0.7727 GB, free: 1.609 MB / 0.5606 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 (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.0001213/0.1739, allocations: 103.1 kB / 0.7728 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000802/0.1747, allocations: 195.8 kB / 0.773 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1747, allocations: 0 / 0.773 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.1751, allocations: 103.8 kB / 0.7731 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1754, allocations: 8.219 kB / 0.7731 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009975/0.1764, allocations: 253.4 kB / 0.7733 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1767, allocations: 0.7 MB / 0.774 GB, free: 204 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.311e-05/0.1768, allocations: 20.23 kB / 0.774 GB, free: 184 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.1769, allocations: 11.44 kB / 0.7741 GB, free: 172 kB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1769, allocations: 0 / 0.7741 GB, free: 172 kB / 0.5606 GB Notification: Performance of Templates: time 0.2874/0.4643, allocations: 0.9304 MB / 0.775 GB, free: 14.67 MB / 0.5606 GB 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)