Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001148, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.9727/0.9727, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.91 kB / 0.5142 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.163, allocations: 82.04 MB / 0.5943 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001982/0.1651, allocations: 0.5768 MB / 0.5949 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1663, allocations: 1.1 MB / 0.5959 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.1664, allocations: 0 / 0.5959 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.187e-05/0.1664, allocations: 0 / 0.5959 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.1667, allocations: 27.91 kB / 0.596 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.1667, allocations: 0 / 0.596 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.91e-05/0.1667, allocations: 4 kB / 0.596 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.1668, allocations: 0 / 0.596 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.1668, allocations: 3.938 kB / 0.596 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.466e-05/0.1668, allocations: 8 kB / 0.596 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-06/0.1668, allocations: 3.938 kB / 0.596 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1669, allocations: 19.97 kB / 0.596 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.645e-06/0.167, allocations: 3.984 kB / 0.596 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.167, allocations: 4 kB / 0.596 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.181e-05/0.167, allocations: 7.938 kB / 0.596 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.1671, allocations: 4 kB / 0.596 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.326e-06/0.1671, allocations: 7.922 kB / 0.596 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1671, allocations: 0 / 0.596 GB, free: 7.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002928/0.1674, allocations: 321.5 kB / 0.5963 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1674, allocations: 12.62 kB / 0.5963 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.1675, allocations: 0.9375 kB / 0.5963 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.687e-05/0.1676, allocations: 168.4 kB / 0.5965 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1676, allocations: 384 / 0.5965 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1676, allocations: 4.312 kB / 0.5965 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.1677, allocations: 38.02 kB / 0.5965 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1677, allocations: 3.984 kB / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.1677, allocations: 0 / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1677, allocations: 0 / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.1678, allocations: 7.984 kB / 0.5966 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.1679, allocations: 169.5 kB / 0.5967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1681, allocations: 26.58 kB / 0.5967 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.1681, allocations: 16.94 kB / 0.5968 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.1683, allocations: 81.11 kB / 0.5968 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.1683, allocations: 34.5 kB / 0.5969 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1683, allocations: 4 kB / 0.5969 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004308/0.1726, allocations: 0.5679 MB / 0.5974 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1727, allocations: 51.41 kB / 0.5975 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.333e-05/0.1727, allocations: 89.86 kB / 0.5976 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1727, allocations: 29.7 kB / 0.5976 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/0.1728, allocations: 80.14 kB / 0.5977 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.1728, allocations: 15.8 kB / 0.5977 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.1729, allocations: 21.66 kB / 0.5977 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.173, allocations: 314.8 kB / 0.598 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.1736, allocations: 87.88 kB / 0.5981 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.1742, allocations: 102.5 kB / 0.5982 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.1755, allocations: 194.5 kB / 0.5984 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1755, allocations: 0 / 0.5984 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001302/0.1768, allocations: 209.5 kB / 0.5986 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1768, allocations: 10.64 kB / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1768, allocations: 0 / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1769, allocations: 7.938 kB / 0.5986 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.1773, allocations: 48 kB / 0.5986 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.1773, allocations: 0 / 0.5986 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.1777, allocations: 39.98 kB / 0.5987 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.1777, allocations: 8 kB / 0.5987 GB, free: 4.758 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.298e-05/0.1778, allocations: 105.8 kB / 0.5988 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1778, allocations: 19.83 kB / 0.5988 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.1792, allocations: 233 kB / 0.599 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1792, allocations: 256 / 0.599 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1793, allocations: 0 / 0.599 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1793, allocations: 4 kB / 0.599 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.1808, allocations: 458.5 kB / 0.5995 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1808, allocations: 0 / 0.5995 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.1812, allocations: 55.91 kB / 0.5995 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1812, allocations: 0 / 0.5995 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1813, allocations: 3.938 kB / 0.5995 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1813, allocations: 0 / 0.5995 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1813, allocations: 0 / 0.5995 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.1826, allocations: 307.4 kB / 0.5998 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.1826, allocations: 81.11 kB / 0.5999 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1826, allocations: 0 / 0.5999 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.183, allocations: 40.39 kB / 0.5999 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.183, allocations: 8 kB / 0.5999 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1831, allocations: 4 kB / 0.5999 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.1831, allocations: 75.28 kB / 0.6 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1831, allocations: 0 / 0.6 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002741/0.1834, allocations: 8 kB / 0.6 GB, free: 3.281 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 (5): * Single equations (assignments): 5 * 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.0002486/0.1836, allocations: 119.1 kB / 0.6001 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.185, allocations: 183.9 kB / 0.6003 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.185, allocations: 0 / 0.6003 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.1856, allocations: 92 kB / 0.6004 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.1859, allocations: 4 kB / 0.6004 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1871, allocations: 220.8 kB / 0.6006 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1874, allocations: 0.6729 MB / 0.6013 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.1877, allocations: 31.98 kB / 0.6013 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.1877, allocations: 11.44 kB / 0.6013 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1878, allocations: 0 / 0.6013 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of Templates: time 0.003002/0.1908, allocations: 0.8197 MB / 0.6021 GB, free: 1.086 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)