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.004548/0.004547, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001106/0.001106, allocations: 196 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 270.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9353/0.9353, allocations: 169.2 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 99.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1621, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002666/0.1648, allocations: 1.467 MB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004332/0.1653, allocations: 128.4 kB / 0.7679 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.1653, allocations: 8 kB / 0.768 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.4e-05/0.1654, allocations: 3.938 kB / 0.768 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.1655, allocations: 7.922 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.1657, allocations: 31.91 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.1658, allocations: 39.91 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1659, allocations: 31.92 kB / 0.7681 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.166, allocations: 15.98 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.166, allocations: 19.86 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.166, allocations: 4 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.332e-05/0.1661, allocations: 31.97 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.1661, allocations: 11.98 kB / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.1662, allocations: 19.88 kB / 0.7682 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.1663, allocations: 67.78 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1663, allocations: 0 / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1663, allocations: 4 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1663, allocations: 0 / 0.7682 GB, free: 6.531 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.0004237/0.1668, allocations: 363.2 kB / 0.7686 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1668, allocations: 12.03 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009693/0.1678, allocations: 208.5 kB / 0.7688 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1679, allocations: 172.2 kB / 0.769 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1679, allocations: 4.375 kB / 0.769 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.168, allocations: 4.375 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.1685, allocations: 194 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.1685, allocations: 192 / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1685, allocations: 7.922 kB / 0.7692 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1685, allocations: 8 kB / 0.7692 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007807/0.1693, allocations: 275.6 kB / 0.7694 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008423/0.1702, allocations: 441.1 kB / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.1712, allocations: 286.2 kB / 0.7701 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.1715, allocations: 100.8 kB / 0.7702 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1716, allocations: 0 / 0.7702 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1716, allocations: 34.56 kB / 0.7702 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1716, allocations: 7.938 kB / 0.7703 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001058/0.1727, allocations: 309.2 kB / 0.7705 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1727, allocations: 55.41 kB / 0.7706 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.1728, allocations: 117.8 kB / 0.7707 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1728, allocations: 25.7 kB / 0.7707 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.1729, allocations: 95.98 kB / 0.7708 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1729, allocations: 11.89 kB / 0.7708 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.173, allocations: 13.72 kB / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1731, allocations: 326.8 kB / 0.7712 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.1735, allocations: 95.88 kB / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.1738, allocations: 95.88 kB / 0.7713 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/0.1743, allocations: 172.6 kB / 0.7715 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1744, allocations: 0 / 0.7715 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006462/0.175, allocations: 221.4 kB / 0.7717 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.175, allocations: 4 kB / 0.7717 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.175, allocations: 0 / 0.7717 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1751, allocations: 0 / 0.7717 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.1753, allocations: 35.94 kB / 0.7718 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1753, allocations: 0 / 0.7718 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.1755, allocations: 31.86 kB / 0.7718 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1755, allocations: 0 / 0.7718 GB, free: 2.652 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 8.655e-05/0.1756, allocations: 126.4 kB / 0.7719 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1756, allocations: 4 kB / 0.7719 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.1757, allocations: 7.906 kB / 0.7719 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1757, allocations: 4 kB / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1757, allocations: 3.938 kB / 0.7719 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1757, allocations: 0 / 0.7719 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.1759, allocations: 209.5 kB / 0.7721 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1759, allocations: 4 kB / 0.7721 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.1762, allocations: 35.94 kB / 0.7722 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1762, allocations: 4 kB / 0.7722 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1762, allocations: 0 / 0.7722 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1762, allocations: 384 / 0.7722 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1762, allocations: 0 / 0.7722 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007047/0.1769, allocations: 323.5 kB / 0.7725 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.177, allocations: 77.11 kB / 0.7726 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.177, allocations: 3.938 kB / 0.7726 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.1772, allocations: 31.95 kB / 0.7726 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.1773, allocations: 4 kB / 0.7726 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1773, allocations: 7.984 kB / 0.7726 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.1773, allocations: 95.2 kB / 0.7727 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1773, allocations: 0 / 0.7727 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002326/0.1776, allocations: 15.91 kB / 0.7727 GB, free: 1.617 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.0001077/0.1777, allocations: 103.1 kB / 0.7728 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006763/0.1784, allocations: 195.8 kB / 0.773 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1784, allocations: 0 / 0.773 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.1787, allocations: 103.9 kB / 0.7731 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.179, allocations: 13.97 kB / 0.7731 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.1798, allocations: 257.4 kB / 0.7734 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.18, allocations: 0.6922 MB / 0.774 GB, free: 212 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.1801, allocations: 20.23 kB / 0.774 GB, free: 192 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.1802, allocations: 7.438 kB / 0.7741 GB, free: 184 kB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.1802, allocations: 4 kB / 0.7741 GB, free: 180 kB / 0.5606 GB Notification: Performance of Templates: time 0.3/0.4802, allocations: 0.9555 MB / 0.775 GB, free: 14.66 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)