Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 106.1 kB / 16.41 MB, free: 6.516 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.001747/0.001747, allocations: 184.2 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.13 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 1.005/1.005, allocations: 143.1 MB / 434.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.38 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1686, allocations: 82.04 MB / 0.6763 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002736/0.1714, allocations: 1.434 MB / 0.6777 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009139/0.1723, allocations: 475.8 kB / 0.6782 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.1723, allocations: 0 / 0.6782 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.1723, allocations: 3.938 kB / 0.6782 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.1724, allocations: 3.938 kB / 0.6782 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.1726, allocations: 23.97 kB / 0.6782 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.819e-05/0.1727, allocations: 27.92 kB / 0.6782 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.1728, allocations: 0 / 0.6782 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.676e-05/0.1728, allocations: 19.86 kB / 0.6782 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.018e-05/0.1729, allocations: 15.94 kB / 0.6783 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.1729, allocations: 0 / 0.6783 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.173, allocations: 27.91 kB / 0.6783 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.173, allocations: 7.984 kB / 0.6783 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.173, allocations: 7.938 kB / 0.6783 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.1731, allocations: 35.83 kB / 0.6783 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1731, allocations: 0 / 0.6783 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1731, allocations: 0 / 0.6783 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.1731, allocations: 0 / 0.6783 GB, free: 8.223 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.0004891/0.1736, allocations: 348.8 kB / 0.6787 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1736, allocations: 8.031 kB / 0.6787 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.1737, allocations: 8.875 kB / 0.6787 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1738, allocations: 168.3 kB / 0.6788 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1738, allocations: 384 / 0.6788 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1739, allocations: 4.375 kB / 0.6789 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.174, allocations: 49.98 kB / 0.6789 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.174, allocations: 0 / 0.6789 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.174, allocations: 8 kB / 0.6789 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1741, allocations: 0 / 0.6789 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.1742, allocations: 35.95 kB / 0.6789 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.1746, allocations: 252.8 kB / 0.6792 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1747, allocations: 38.59 kB / 0.6792 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.1748, allocations: 24.91 kB / 0.6792 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.175, allocations: 89.08 kB / 0.6793 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.939e-05/0.175, allocations: 30.56 kB / 0.6794 GB, free: 7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.175, allocations: 0 / 0.6794 GB, free: 7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003604/0.1754, allocations: 85.58 kB / 0.6794 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.1754, allocations: 51.53 kB / 0.6795 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.1755, allocations: 105.9 kB / 0.6796 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1755, allocations: 25.7 kB / 0.6796 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.1756, allocations: 84.09 kB / 0.6797 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.1756, allocations: 7.938 kB / 0.6797 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.1756, allocations: 17.72 kB / 0.6797 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1758, allocations: 310.8 kB / 0.68 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.1759, allocations: 23.92 kB / 0.68 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.176, allocations: 19.97 kB / 0.6801 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1761, allocations: 40.77 kB / 0.6801 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1761, allocations: 0 / 0.6801 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001997/0.1763, allocations: 73.59 kB / 0.6802 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1763, allocations: 6.125 kB / 0.6802 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1763, allocations: 4 kB / 0.6802 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1763, allocations: 0 / 0.6802 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.1764, allocations: 8 kB / 0.6802 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1764, allocations: 3.984 kB / 0.6802 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.1765, allocations: 12.12 kB / 0.6802 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1765, allocations: 0 / 0.6802 GB, free: 6.078 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.819e-05/0.1766, allocations: 110.4 kB / 0.6803 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1766, allocations: 8 kB / 0.6803 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.1768, allocations: 80.7 kB / 0.6804 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1768, allocations: 4 kB / 0.6804 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1769, allocations: 0 / 0.6804 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1769, allocations: 0 / 0.6804 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.177, allocations: 157.6 kB / 0.6805 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.177, allocations: 0 / 0.6805 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.1771, allocations: 11.98 kB / 0.6806 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1771, allocations: 0 / 0.6806 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1771, allocations: 4.031 kB / 0.6806 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1771, allocations: 0 / 0.6806 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1771, allocations: 0 / 0.6806 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.1774, allocations: 167.4 kB / 0.6807 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1774, allocations: 77.11 kB / 0.6808 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1774, allocations: 7.984 kB / 0.6808 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1775, allocations: 4.031 kB / 0.6808 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1775, allocations: 4 kB / 0.6808 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1775, allocations: 0 / 0.6808 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.876e-05/0.1776, allocations: 91.2 kB / 0.6809 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1776, allocations: 0 / 0.6809 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002171/0.1778, allocations: 4 kB / 0.6809 GB, free: 5.266 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.0001543/0.178, allocations: 103.2 kB / 0.681 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1782, allocations: 43.89 kB / 0.681 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.1782, allocations: 4 kB / 0.681 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.338e-05/0.1783, allocations: 15.98 kB / 0.6811 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1786, allocations: 7.938 kB / 0.6811 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.1789, allocations: 143 kB / 0.6812 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1792, allocations: 0.6808 MB / 0.6819 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.1792, allocations: 15.44 kB / 0.6819 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1792, allocations: 0 / 0.6819 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of Templates: time 0.00232/0.1815, allocations: 0.6619 MB / 0.6825 GB, free: 3.523 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)