Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00474/0.00474, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001115/0.001115, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.9064/0.9064, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.47 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.162, allocations: 82.04 MB / 0.6756 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002907/0.165, allocations: 1.462 MB / 0.6771 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.166, allocations: 0.5579 MB / 0.6776 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.1661, allocations: 0 / 0.6776 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.1661, allocations: 3.938 kB / 0.6776 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.1662, allocations: 7.938 kB / 0.6776 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1665, allocations: 55.81 kB / 0.6777 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.1666, allocations: 19.92 kB / 0.6777 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.366e-05/0.1667, allocations: 8 kB / 0.6777 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1668, allocations: 35.78 kB / 0.6777 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.1669, allocations: 7.938 kB / 0.6777 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1669, allocations: 0 / 0.6777 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1671, allocations: 55.95 kB / 0.6778 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.1671, allocations: 4 kB / 0.6778 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.1672, allocations: 15.92 kB / 0.6778 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.1674, allocations: 59.86 kB / 0.6779 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1674, allocations: 3.938 kB / 0.6779 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1674, allocations: 4 kB / 0.6779 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.1674, allocations: 0 / 0.6779 GB, free: 8.012 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005033/0.1679, allocations: 347.4 kB / 0.6782 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.168, allocations: 8.031 kB / 0.6782 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.168, allocations: 8.844 kB / 0.6782 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1681, allocations: 168.3 kB / 0.6784 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1682, allocations: 4.375 kB / 0.6784 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1682, allocations: 384 / 0.6784 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1683, allocations: 49.98 kB / 0.6784 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1683, allocations: 0 / 0.6784 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1683, allocations: 4 kB / 0.6784 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1684, allocations: 0 / 0.6784 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.1684, allocations: 23.92 kB / 0.6785 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.1688, allocations: 252.9 kB / 0.6787 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.879e-05/0.1689, allocations: 30.56 kB / 0.6787 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.1689, allocations: 16.91 kB / 0.6788 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/0.1698, allocations: 473.4 kB / 0.6792 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1698, allocations: 42.48 kB / 0.6792 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.1698, allocations: 0 / 0.6792 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002629/0.1701, allocations: 65.59 kB / 0.6793 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1701, allocations: 51.41 kB / 0.6794 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.1702, allocations: 109.8 kB / 0.6795 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1702, allocations: 25.7 kB / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.1703, allocations: 88.12 kB / 0.6796 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1703, allocations: 3.906 kB / 0.6796 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.1703, allocations: 13.72 kB / 0.6796 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.1704, allocations: 319 kB / 0.6799 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.1705, allocations: 11.98 kB / 0.6799 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.1705, allocations: 8 kB / 0.6799 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.244e-05/0.1706, allocations: 32.72 kB / 0.6799 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1706, allocations: 4 kB / 0.6799 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001216/0.1708, allocations: 57.61 kB / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1708, allocations: 4.094 kB / 0.68 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1708, allocations: 4 kB / 0.68 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1708, allocations: 3.938 kB / 0.68 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.1709, allocations: 4 kB / 0.68 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1709, allocations: 0 / 0.68 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.1709, allocations: 7.984 kB / 0.68 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.171, allocations: 0 / 0.68 GB, free: 5.5 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 (2): * Single equations (assignments): 2 * 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.8e-05/0.1711, allocations: 118.4 kB / 0.6801 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.1711, allocations: 3.906 kB / 0.6801 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.1713, allocations: 69.14 kB / 0.6802 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1713, allocations: 0 / 0.6802 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1713, allocations: 4 kB / 0.6802 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1713, allocations: 0 / 0.6802 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.1715, allocations: 161.6 kB / 0.6804 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1715, allocations: 0 / 0.6804 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.1715, allocations: 4 kB / 0.6804 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1715, allocations: 0 / 0.6804 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1716, allocations: 4 kB / 0.6804 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1716, allocations: 8.031 kB / 0.6804 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1716, allocations: 0 / 0.6804 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.1718, allocations: 159.4 kB / 0.6805 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.1718, allocations: 85.02 kB / 0.6806 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1718, allocations: 0 / 0.6806 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.1719, allocations: 0 / 0.6806 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.1719, allocations: 7.984 kB / 0.6806 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.172, allocations: 4.031 kB / 0.6806 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.172, allocations: 87.58 kB / 0.6807 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.21e-07/0.172, allocations: 0 / 0.6807 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002564/0.1723, allocations: 19.98 kB / 0.6807 GB, free: 4.68 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 (2): * Single equations (assignments): 2 * 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.0001758/0.1725, allocations: 115.2 kB / 0.6808 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.1726, allocations: 23.97 kB / 0.6809 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1726, allocations: 3.938 kB / 0.6809 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.1727, allocations: 20 kB / 0.6809 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1729, allocations: 7.875 kB / 0.6809 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.1732, allocations: 126.5 kB / 0.681 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.1735, allocations: 0.6768 MB / 0.6817 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.1735, allocations: 4 kB / 0.6817 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.1736, allocations: 11.42 kB / 0.6817 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1736, allocations: 4.062 kB / 0.6817 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of Templates: time 0.00297/0.1765, allocations: 0.6878 MB / 0.6824 GB, free: 2.945 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)