Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 111 kB / 17.33 MB, free: 5.043 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.00127/0.00127, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.494/1.494, allocations: 225.6 MB / 244.8 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8804/0.8804, allocations: 128.4 MB / 426.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 76.5 kB / 0.5912 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1756, allocations: 83.26 MB / 0.6725 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002963/0.1786, allocations: 1.462 MB / 0.6739 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004734/0.1791, allocations: 148.7 kB / 0.674 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.1791, allocations: 4 kB / 0.674 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.401e-05/0.1792, allocations: 0 / 0.674 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/0.1792, allocations: 7.938 kB / 0.6741 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.1795, allocations: 31.89 kB / 0.6741 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1796, allocations: 43.84 kB / 0.6741 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1798, allocations: 20 kB / 0.6741 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.1798, allocations: 15.92 kB / 0.6742 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.1799, allocations: 19.92 kB / 0.6742 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1799, allocations: 4 kB / 0.6742 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.18, allocations: 31.97 kB / 0.6742 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.1801, allocations: 15.92 kB / 0.6742 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.1801, allocations: 27.86 kB / 0.6743 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.1803, allocations: 63.73 kB / 0.6743 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1803, allocations: 0 / 0.6743 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1803, allocations: 0 / 0.6743 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.1803, allocations: 0 / 0.6743 GB, free: 1.984 MB / 0.4981 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.0007283/0.181, allocations: 363.2 kB / 0.6747 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.1811, allocations: 8.031 kB / 0.6747 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.1822, allocations: 212.5 kB / 0.6749 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.1825, allocations: 172.3 kB / 0.675 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1825, allocations: 8.375 kB / 0.675 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.1825, allocations: 384 / 0.675 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.1831, allocations: 198 kB / 0.6752 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1831, allocations: 192 / 0.6752 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.1831, allocations: 7.938 kB / 0.6752 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1831, allocations: 0 / 0.6752 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.1839, allocations: 283.6 kB / 0.6755 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.1849, allocations: 445.1 kB / 0.6759 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.186, allocations: 286.1 kB / 0.6762 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.1863, allocations: 104.8 kB / 0.6763 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.1863, allocations: 8.062 kB / 0.6763 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1864, allocations: 30.56 kB / 0.6763 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1864, allocations: 0 / 0.6763 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.001145/0.1875, allocations: 309.3 kB / 0.6766 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.1876, allocations: 55.34 kB / 0.6767 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1877, allocations: 125.8 kB / 0.6768 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1877, allocations: 25.7 kB / 0.6768 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.1878, allocations: 88.14 kB / 0.6769 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1879, allocations: 7.953 kB / 0.6769 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.1879, allocations: 21.7 kB / 0.6769 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002321/0.1882, allocations: 322.8 kB / 0.6773 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.1885, allocations: 87.88 kB / 0.6773 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.1888, allocations: 95.88 kB / 0.6774 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.1895, allocations: 172.6 kB / 0.6776 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1895, allocations: 0 / 0.6776 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007289/0.1902, allocations: 225.3 kB / 0.6778 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1902, allocations: 4 kB / 0.6778 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1902, allocations: 0 / 0.6778 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.1902, allocations: 0 / 0.6778 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.1905, allocations: 31.95 kB / 0.6778 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1905, allocations: 7.984 kB / 0.6779 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.1907, allocations: 28.66 kB / 0.6779 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1907, allocations: 0 / 0.6779 GB, free: 14.1 MB / 0.5137 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.0001295/0.1908, allocations: 117.8 kB / 0.678 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.1908, allocations: 11.94 kB / 0.678 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.1909, allocations: 19.83 kB / 0.678 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1909, allocations: 0 / 0.678 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1909, allocations: 8 kB / 0.678 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1909, allocations: 0 / 0.678 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.1912, allocations: 213.5 kB / 0.6782 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1912, allocations: 0 / 0.6782 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.1914, allocations: 35.94 kB / 0.6783 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1914, allocations: 0 / 0.6783 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1914, allocations: 0 / 0.6783 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1914, allocations: 0 / 0.6783 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1914, allocations: 0 / 0.6783 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.1922, allocations: 315.2 kB / 0.6786 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.1923, allocations: 81.06 kB / 0.6786 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1923, allocations: 7.938 kB / 0.6787 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.1925, allocations: 31.94 kB / 0.6787 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.1926, allocations: 8 kB / 0.6787 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1926, allocations: 0 / 0.6787 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.691e-05/0.1927, allocations: 95.27 kB / 0.6788 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1927, allocations: 0 / 0.6788 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002373/0.1929, allocations: 12 kB / 0.6788 GB, free: 13.07 MB / 0.5137 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.0001696/0.1931, allocations: 95.19 kB / 0.6789 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.1938, allocations: 203.7 kB / 0.6791 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1938, allocations: 0 / 0.6791 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.1942, allocations: 103.9 kB / 0.6792 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.1944, allocations: 0 / 0.6792 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000961/0.1954, allocations: 261.3 kB / 0.6794 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.1958, allocations: 0.6963 MB / 0.6801 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.612e-05/0.1959, allocations: 15.98 kB / 0.6801 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.1959, allocations: 11.44 kB / 0.6801 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1959, allocations: 4 kB / 0.6801 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.003872/0.1998, allocations: 0.9416 MB / 0.6811 GB, free: 10.69 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480]