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.001114/0.001114, allocations: 105.9 kB / 16.41 MB, free: 6.488 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.001166/0.001166, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.14 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.837/0.837, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 64.98 kB / 0.5962 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1676, allocations: 82.02 MB / 0.6763 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002832/0.1705, allocations: 1.469 MB / 0.6777 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004301/0.1709, allocations: 144.4 kB / 0.6779 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.171, allocations: 0 / 0.6779 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.171, allocations: 3.984 kB / 0.6779 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.1711, allocations: 3.938 kB / 0.6779 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1714, allocations: 31.91 kB / 0.6779 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.1715, allocations: 43.84 kB / 0.678 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1716, allocations: 27.98 kB / 0.678 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.1717, allocations: 15.92 kB / 0.678 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.1718, allocations: 19.92 kB / 0.678 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1718, allocations: 4 kB / 0.678 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1719, allocations: 27.98 kB / 0.6781 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.1719, allocations: 15.92 kB / 0.6781 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.172, allocations: 19.92 kB / 0.6781 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1721, allocations: 67.73 kB / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1721, allocations: 0 / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1721, allocations: 0 / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.1722, allocations: 0 / 0.6782 GB, free: 8.398 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.0005273/0.1727, allocations: 361.1 kB / 0.6785 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1727, allocations: 8.031 kB / 0.6785 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.1739, allocations: 216.5 kB / 0.6787 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.174, allocations: 172.3 kB / 0.6789 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.174, allocations: 4.375 kB / 0.6789 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1741, allocations: 384 / 0.6789 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.1746, allocations: 198 kB / 0.6791 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1746, allocations: 192 / 0.6791 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1747, allocations: 7.875 kB / 0.6791 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1747, allocations: 0 / 0.6791 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.1755, allocations: 283.6 kB / 0.6793 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.1764, allocations: 437.1 kB / 0.6798 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.1774, allocations: 290.2 kB / 0.68 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.1778, allocations: 104.7 kB / 0.6801 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1778, allocations: 4 kB / 0.6801 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1779, allocations: 30.56 kB / 0.6802 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1779, allocations: 0 / 0.6802 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.001122/0.179, allocations: 317.2 kB / 0.6805 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.179, allocations: 55.41 kB / 0.6805 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1791, allocations: 117.8 kB / 0.6806 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1792, allocations: 33.69 kB / 0.6807 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.1792, allocations: 84.14 kB / 0.6808 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1792, allocations: 11.91 kB / 0.6808 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.1793, allocations: 29.7 kB / 0.6808 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.1794, allocations: 314.8 kB / 0.6811 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.1798, allocations: 95.88 kB / 0.6812 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.1801, allocations: 91.88 kB / 0.6813 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006061/0.1807, allocations: 176.6 kB / 0.6814 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1807, allocations: 0 / 0.6814 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006956/0.1814, allocations: 217.4 kB / 0.6816 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1815, allocations: 9.875 kB / 0.6817 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1815, allocations: 3.938 kB / 0.6817 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1815, allocations: 0 / 0.6817 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.1818, allocations: 27.95 kB / 0.6817 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1818, allocations: 4 kB / 0.6817 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.182, allocations: 31.94 kB / 0.6817 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.182, allocations: 4 kB / 0.6817 GB, free: 4.508 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.331e-05/0.1821, allocations: 118.4 kB / 0.6818 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.1821, allocations: 3.906 kB / 0.6818 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.1822, allocations: 11.89 kB / 0.6819 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1822, allocations: 0 / 0.6819 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1822, allocations: 4 kB / 0.6819 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1822, allocations: 0 / 0.6819 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1824, allocations: 209.5 kB / 0.6821 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.1824, allocations: 4 kB / 0.6821 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.1827, allocations: 35.95 kB / 0.6821 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1827, allocations: 7.922 kB / 0.6821 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1827, allocations: 0 / 0.6821 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1827, allocations: 0 / 0.6821 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1827, allocations: 4.375 kB / 0.6821 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.1834, allocations: 311.2 kB / 0.6824 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.1835, allocations: 85.02 kB / 0.6825 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1835, allocations: 0 / 0.6825 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.1837, allocations: 39.88 kB / 0.6825 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1838, allocations: 0 / 0.6825 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.1838, allocations: 0 / 0.6825 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.905e-05/0.1839, allocations: 99.27 kB / 0.6826 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1839, allocations: 0 / 0.6826 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002332/0.1841, allocations: 12 kB / 0.6826 GB, free: 3.484 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.0001391/0.1842, allocations: 99.19 kB / 0.6827 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007104/0.185, allocations: 204 kB / 0.6829 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.185, allocations: 0 / 0.6829 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.1853, allocations: 99.88 kB / 0.683 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.1856, allocations: 4 kB / 0.683 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.1865, allocations: 283 kB / 0.6833 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1868, allocations: 0.6887 MB / 0.684 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.1869, allocations: 19.42 kB / 0.684 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1869, allocations: 0 / 0.684 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of Templates: time 0.00264/0.1895, allocations: 1.185 MB / 0.6851 GB, free: 0.8477 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)