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.001058/0.001058, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001119/0.001119, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 287.1 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9051/0.9051, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.001681, allocations: 103.1 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1575, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002427/0.1599, allocations: 1.454 MB / 0.683 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003333/0.1603, allocations: 140.4 kB / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.1603, allocations: 4 kB / 0.6832 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.1604, allocations: 3.984 kB / 0.6832 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.1604, allocations: 3.938 kB / 0.6832 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.1606, allocations: 31.91 kB / 0.6832 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.802e-05/0.1607, allocations: 43.84 kB / 0.6832 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1609, allocations: 19.98 kB / 0.6833 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.1609, allocations: 19.92 kB / 0.6833 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.1609, allocations: 23.92 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.161, allocations: 0 / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.161, allocations: 27.98 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.1611, allocations: 11.97 kB / 0.6833 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.1611, allocations: 19.88 kB / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1612, allocations: 75.67 kB / 0.6834 GB, free: 5.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1612, allocations: 0 / 0.6834 GB, free: 5.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1613, allocations: 4 kB / 0.6834 GB, free: 5.547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1613, allocations: 0 / 0.6834 GB, free: 5.547 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.0004146/0.1617, allocations: 363.3 kB / 0.6838 GB, free: 5.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1617, allocations: 8.031 kB / 0.6838 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.1627, allocations: 216.5 kB / 0.684 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1628, allocations: 168.4 kB / 0.6842 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1628, allocations: 8.375 kB / 0.6842 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1629, allocations: 384 / 0.6842 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.1634, allocations: 194 kB / 0.6843 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.1634, allocations: 192 / 0.6843 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1634, allocations: 7.938 kB / 0.6844 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1634, allocations: 0 / 0.6844 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007297/0.1642, allocations: 279.5 kB / 0.6846 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.165, allocations: 437.3 kB / 0.685 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/0.166, allocations: 290.1 kB / 0.6853 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.1663, allocations: 100.8 kB / 0.6854 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1663, allocations: 3.984 kB / 0.6854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1663, allocations: 34.56 kB / 0.6854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.1663, allocations: 0 / 0.6854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001055/0.1674, allocations: 309.2 kB / 0.6857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1674, allocations: 51.41 kB / 0.6858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1676, allocations: 121.8 kB / 0.6859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1676, allocations: 25.7 kB / 0.6859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.1676, allocations: 100.1 kB / 0.686 GB, free: 2.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.1677, allocations: 7.969 kB / 0.686 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.1677, allocations: 13.72 kB / 0.686 GB, free: 2.656 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1679, allocations: 330.7 kB / 0.6864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.1682, allocations: 95.88 kB / 0.6865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.1685, allocations: 95.88 kB / 0.6865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.169, allocations: 168.6 kB / 0.6867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.169, allocations: 0 / 0.6867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000629/0.1697, allocations: 221.7 kB / 0.6869 GB, free: 1.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1697, allocations: 7.984 kB / 0.6869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1697, allocations: 4 kB / 0.6869 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1697, allocations: 384 / 0.6869 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.17, allocations: 31.89 kB / 0.687 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.17, allocations: 0 / 0.687 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1701, allocations: 31.95 kB / 0.687 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1702, allocations: 11.92 kB / 0.687 GB, free: 1.66 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.819e-05/0.1703, allocations: 117.8 kB / 0.6871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.1703, allocations: 3.906 kB / 0.6871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.1703, allocations: 11.91 kB / 0.6871 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1704, allocations: 3.984 kB / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1704, allocations: 0 / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1704, allocations: 0 / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.1706, allocations: 209.5 kB / 0.6873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1706, allocations: 0 / 0.6873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.1708, allocations: 35.95 kB / 0.6874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1708, allocations: 0 / 0.6874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1709, allocations: 3.984 kB / 0.6874 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1709, allocations: 0 / 0.6874 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1709, allocations: 4 kB / 0.6874 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006822/0.1716, allocations: 315.2 kB / 0.6877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.1716, allocations: 85.02 kB / 0.6878 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1716, allocations: 0 / 0.6878 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.1718, allocations: 27.95 kB / 0.6878 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.1719, allocations: 7.984 kB / 0.6878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1719, allocations: 4 kB / 0.6878 GB, free: 0.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.839e-05/0.1719, allocations: 95.27 kB / 0.6879 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.172, allocations: 0 / 0.6879 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1722, allocations: 15.94 kB / 0.6879 GB, free: 0.6406 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.0001036/0.1723, allocations: 103.2 kB / 0.688 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006566/0.173, allocations: 203.7 kB / 0.6882 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.173, allocations: 3.938 kB / 0.6882 GB, free: 336 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.1733, allocations: 91.88 kB / 0.6883 GB, free: 244 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.1735, allocations: 14.28 kB / 0.6883 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2315/0.4051, allocations: 257.2 kB / 0.6885 GB, free: 18.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.4052, allocations: 0.6871 MB / 0.6892 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.4054, allocations: 20.72 kB / 0.6892 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.4054, allocations: 14.77 kB / 0.6893 GB, free: 17.7 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4054, allocations: 0 / 0.6893 GB, free: 17.7 MB / 494.1 MB Notification: Performance of Templates: time 0.003153/0.4086, allocations: 0.9272 MB / 0.6902 GB, free: 17.68 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)