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.001115/0.001115, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001199/0.001199, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.8529/0.8529, allocations: 143.1 MB / 434.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 68.55 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002879/0.1542, allocations: 1.466 MB / 0.6777 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004105/0.1546, allocations: 144.4 kB / 0.6779 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.1547, allocations: 0 / 0.6779 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.037e-05/0.1547, allocations: 3.938 kB / 0.6779 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.1548, allocations: 7.938 kB / 0.6779 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1551, allocations: 31.89 kB / 0.6779 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.1552, allocations: 43.84 kB / 0.678 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1554, allocations: 16 kB / 0.678 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.1554, allocations: 27.92 kB / 0.678 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.1555, allocations: 15.92 kB / 0.678 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1555, allocations: 4 kB / 0.678 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1556, allocations: 39.95 kB / 0.6781 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.1557, allocations: 7.938 kB / 0.6781 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.1557, allocations: 15.92 kB / 0.6781 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1559, allocations: 71.72 kB / 0.6782 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1559, allocations: 0 / 0.6782 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1559, allocations: 0 / 0.6782 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1559, allocations: 4 kB / 0.6782 GB, free: 8.461 MB / 0.5137 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.000506/0.1564, allocations: 359.4 kB / 0.6785 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1565, allocations: 8.031 kB / 0.6785 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.1576, allocations: 212.5 kB / 0.6787 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1577, allocations: 172.3 kB / 0.6789 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1578, allocations: 4.375 kB / 0.6789 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1578, allocations: 4.375 kB / 0.6789 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.1584, allocations: 194 kB / 0.6791 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1584, allocations: 192 / 0.6791 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.1584, allocations: 11.92 kB / 0.6791 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1584, allocations: 0 / 0.6791 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000827/0.1593, allocations: 279.6 kB / 0.6793 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009525/0.1602, allocations: 449 kB / 0.6798 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.1614, allocations: 286.1 kB / 0.68 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.1618, allocations: 96.8 kB / 0.6801 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1618, allocations: 8 kB / 0.6801 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1618, allocations: 34.56 kB / 0.6802 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 2.866e-06/0.1618, allocations: 0 / 0.6802 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.001197/0.1631, allocations: 313.2 kB / 0.6805 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.1631, allocations: 55.39 kB / 0.6805 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1632, allocations: 121.8 kB / 0.6806 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1632, allocations: 25.7 kB / 0.6807 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.1633, allocations: 88.14 kB / 0.6808 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1633, allocations: 11.83 kB / 0.6808 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.1634, allocations: 17.72 kB / 0.6808 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1635, allocations: 318.8 kB / 0.6811 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.1639, allocations: 99.86 kB / 0.6812 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.1643, allocations: 91.88 kB / 0.6813 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006966/0.165, allocations: 176.9 kB / 0.6814 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.165, allocations: 384 / 0.6814 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007778/0.1658, allocations: 217.3 kB / 0.6816 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1658, allocations: 4 kB / 0.6817 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1658, allocations: 0 / 0.6817 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1658, allocations: 7.938 kB / 0.6817 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.1661, allocations: 39.94 kB / 0.6817 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1661, allocations: 0 / 0.6817 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.1663, allocations: 27.95 kB / 0.6817 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1664, allocations: 0 / 0.6817 GB, free: 4.574 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 9.759e-05/0.1665, allocations: 121.8 kB / 0.6818 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.1665, allocations: 11.91 kB / 0.6819 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.1666, allocations: 11.84 kB / 0.6819 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1666, allocations: 0 / 0.6819 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1666, allocations: 0 / 0.6819 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1666, allocations: 0 / 0.6819 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1668, allocations: 209.5 kB / 0.6821 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1668, allocations: 0 / 0.6821 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.167, allocations: 39.88 kB / 0.6821 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1671, allocations: 4 kB / 0.6821 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1671, allocations: 4 kB / 0.6821 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1671, allocations: 0 / 0.6821 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1671, allocations: 0 / 0.6821 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/0.1679, allocations: 315.2 kB / 0.6824 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.168, allocations: 81.02 kB / 0.6825 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.168, allocations: 4 kB / 0.6825 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.1682, allocations: 23.95 kB / 0.6825 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.1683, allocations: 4 kB / 0.6825 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.1683, allocations: 3.984 kB / 0.6825 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.076e-05/0.1684, allocations: 99.22 kB / 0.6826 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1684, allocations: 4 kB / 0.6826 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002367/0.1686, allocations: 15.98 kB / 0.6826 GB, free: 3.543 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.0001188/0.1687, allocations: 99.19 kB / 0.6827 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008007/0.1695, allocations: 191.8 kB / 0.6829 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1695, allocations: 0 / 0.6829 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.1699, allocations: 103.9 kB / 0.683 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.1702, allocations: 4.281 kB / 0.683 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009747/0.1712, allocations: 283 kB / 0.6833 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1715, allocations: 0.6885 MB / 0.684 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.1716, allocations: 15.38 kB / 0.684 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1716, allocations: 0 / 0.684 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of Templates: time 0.002594/0.1742, allocations: 1.169 MB / 0.6851 GB, free: 0.9375 MB / 0.5137 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)