Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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) 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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.005133/0.005133, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001186/0.001186, allocations: 190.5 kB / 16.79 MB, free: 5.805 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.343/1.343, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9495/0.9495, allocations: 143 MB / 433.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.89 kB / 0.5141 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1576, allocations: 82.03 MB / 0.5943 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002579/0.1603, allocations: 1.525 MB / 0.5957 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004103/0.1607, allocations: 152.4 kB / 0.5959 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.1607, allocations: 0 / 0.5959 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.298e-05/0.1608, allocations: 3.984 kB / 0.5959 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.1609, allocations: 7.922 kB / 0.5959 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.161, allocations: 23.98 kB / 0.5959 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.959e-05/0.1611, allocations: 39.86 kB / 0.596 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1612, allocations: 19.98 kB / 0.596 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.1613, allocations: 19.97 kB / 0.596 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.1613, allocations: 19.86 kB / 0.596 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1614, allocations: 4 kB / 0.596 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.1615, allocations: 31.97 kB / 0.5961 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1615, allocations: 4 kB / 0.5961 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.1615, allocations: 15.88 kB / 0.5961 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.787e-05/0.1616, allocations: 51.86 kB / 0.5961 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1616, allocations: 4 kB / 0.5961 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.31e-07/0.1616, allocations: 0 / 0.5961 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1616, allocations: 0 / 0.5961 GB, free: 8.059 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.0004523/0.1621, allocations: 359.7 kB / 0.5965 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1622, allocations: 8.031 kB / 0.5965 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.1633, allocations: 212.5 kB / 0.5967 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1634, allocations: 176.2 kB / 0.5968 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1634, allocations: 4.375 kB / 0.5969 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1635, allocations: 8.375 kB / 0.5969 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.164, allocations: 186 kB / 0.597 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.164, allocations: 4.188 kB / 0.597 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.1641, allocations: 7.938 kB / 0.597 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1641, allocations: 0 / 0.597 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008465/0.1649, allocations: 283.6 kB / 0.5973 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009191/0.1659, allocations: 449.3 kB / 0.5977 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.167, allocations: 286.2 kB / 0.598 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.1673, allocations: 100.8 kB / 0.5981 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1673, allocations: 4 kB / 0.5981 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1674, allocations: 30.56 kB / 0.5981 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.1674, allocations: 3.938 kB / 0.5982 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001135/0.1685, allocations: 305.3 kB / 0.5984 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1686, allocations: 51.41 kB / 0.5985 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.902e-05/0.1687, allocations: 125.8 kB / 0.5986 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1687, allocations: 25.7 kB / 0.5986 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.1687, allocations: 88.14 kB / 0.5987 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.1688, allocations: 11.75 kB / 0.5987 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.1688, allocations: 21.7 kB / 0.5988 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.169, allocations: 318.8 kB / 0.5991 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.1693, allocations: 99.88 kB / 0.5992 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.1696, allocations: 95.86 kB / 0.5992 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.1703, allocations: 172.6 kB / 0.5994 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1703, allocations: 384 / 0.5994 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006963/0.171, allocations: 213.5 kB / 0.5996 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.171, allocations: 4 kB / 0.5996 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.171, allocations: 4 kB / 0.5996 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.171, allocations: 7.938 kB / 0.5996 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.1713, allocations: 31.94 kB / 0.5997 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1713, allocations: 0 / 0.5997 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1715, allocations: 27.95 kB / 0.5997 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1715, allocations: 0 / 0.5997 GB, free: 4.184 MB / 0.4981 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.98e-05/0.1716, allocations: 125.8 kB / 0.5998 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1716, allocations: 11.84 kB / 0.5998 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.1717, allocations: 11.91 kB / 0.5998 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1717, allocations: 0 / 0.5998 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1717, allocations: 0 / 0.5998 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1717, allocations: 3.938 kB / 0.5998 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.172, allocations: 205.5 kB / 0.6 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.172, allocations: 0 / 0.6 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.1722, allocations: 39.94 kB / 0.6001 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1722, allocations: 4 kB / 0.6001 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1722, allocations: 0 / 0.6001 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1722, allocations: 0 / 0.6001 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1723, allocations: 0 / 0.6001 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007604/0.173, allocations: 315.2 kB / 0.6004 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.1731, allocations: 85.47 kB / 0.6005 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1731, allocations: 0 / 0.6005 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.1733, allocations: 23.95 kB / 0.6005 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.1734, allocations: 4 kB / 0.6005 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.1734, allocations: 7.938 kB / 0.6005 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.634e-05/0.1735, allocations: 99.27 kB / 0.6006 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1735, allocations: 4 kB / 0.6006 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002376/0.1737, allocations: 12 kB / 0.6006 GB, free: 3.148 MB / 0.4981 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.000118/0.1738, allocations: 107.2 kB / 0.6007 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007167/0.1745, allocations: 191.8 kB / 0.6009 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1746, allocations: 0 / 0.6009 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.1749, allocations: 103.9 kB / 0.601 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1752, allocations: 4.281 kB / 0.601 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008381/0.176, allocations: 300.6 kB / 0.6013 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1763, allocations: 0.6887 MB / 0.6019 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.1764, allocations: 15.38 kB / 0.602 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1764, allocations: 4 kB / 0.602 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.002363/0.1787, allocations: 1.151 MB / 0.6031 GB, free: 0.5312 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)