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.005015/0.005015, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001148/0.001148, allocations: 194.3 kB / 16.79 MB, free: 5.809 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.329/1.329, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.9464/0.9464, allocations: 143.1 MB / 433.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.5142 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1595, allocations: 82.04 MB / 0.5943 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001793/0.1614, allocations: 0.6465 MB / 0.5949 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1627, allocations: 1.096 MB / 0.596 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.178e-05/0.1627, allocations: 11.94 kB / 0.596 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.1627, allocations: 0 / 0.596 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.163, allocations: 19.92 kB / 0.596 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.565e-06/0.163, allocations: 0 / 0.596 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.605e-05/0.163, allocations: 7.938 kB / 0.596 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.1631, allocations: 3.984 kB / 0.596 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.495e-05/0.1631, allocations: 0 / 0.596 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.265e-05/0.1631, allocations: 4 kB / 0.596 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1631, allocations: 0 / 0.596 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1632, allocations: 23.91 kB / 0.596 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.1633, allocations: 4 kB / 0.5961 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.1633, allocations: 7.938 kB / 0.5961 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.299e-05/0.1633, allocations: 7.984 kB / 0.5961 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1634, allocations: 0 / 0.5961 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1634, allocations: 0 / 0.5961 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1634, allocations: 0 / 0.5961 GB, free: 8.164 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.0003395/0.1637, allocations: 315.6 kB / 0.5964 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1638, allocations: 8.031 kB / 0.5964 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.1638, allocations: 0.9375 kB / 0.5964 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1639, allocations: 172.3 kB / 0.5965 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1639, allocations: 4.375 kB / 0.5965 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.164, allocations: 8.359 kB / 0.5966 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.1641, allocations: 34.02 kB / 0.5966 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1641, allocations: 3.984 kB / 0.5966 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1641, allocations: 0 / 0.5966 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1641, allocations: 0 / 0.5966 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.1641, allocations: 8 kB / 0.5966 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.1643, allocations: 153.6 kB / 0.5967 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1645, allocations: 38.52 kB / 0.5968 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.1645, allocations: 16.94 kB / 0.5968 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.1647, allocations: 77.11 kB / 0.5969 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1647, allocations: 38.5 kB / 0.5969 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1647, allocations: 0 / 0.5969 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004523/0.1692, allocations: 0.5718 MB / 0.5975 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1693, allocations: 51.41 kB / 0.5975 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.339e-05/0.1693, allocations: 93.86 kB / 0.5976 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1693, allocations: 25.7 kB / 0.5976 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.1694, allocations: 84.12 kB / 0.5977 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.1694, allocations: 19.8 kB / 0.5977 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.1695, allocations: 17.66 kB / 0.5977 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1696, allocations: 318.8 kB / 0.598 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006376/0.1703, allocations: 83.95 kB / 0.5981 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.1709, allocations: 110.4 kB / 0.5982 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.1722, allocations: 182.5 kB / 0.5984 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1722, allocations: 0 / 0.5984 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001316/0.1735, allocations: 221.5 kB / 0.5986 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1736, allocations: 8 kB / 0.5986 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1736, allocations: 0 / 0.5986 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1736, allocations: 0 / 0.5986 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.174, allocations: 55.94 kB / 0.5987 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.174, allocations: 0 / 0.5987 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.1744, allocations: 39.98 kB / 0.5987 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1744, allocations: 0 / 0.5987 GB, free: 5.191 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.792e-05/0.1745, allocations: 117.8 kB / 0.5988 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.1745, allocations: 7.844 kB / 0.5988 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.1759, allocations: 233.1 kB / 0.5991 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1759, allocations: 4 kB / 0.5991 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1759, allocations: 0 / 0.5991 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.176, allocations: 0 / 0.5991 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.1775, allocations: 454.4 kB / 0.5995 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1775, allocations: 0 / 0.5995 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.1779, allocations: 47.97 kB / 0.5995 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1779, allocations: 432 / 0.5995 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.1779, allocations: 8 kB / 0.5995 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1779, allocations: 4 kB / 0.5996 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.178, allocations: 320 / 0.5996 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.1793, allocations: 311.3 kB / 0.5999 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.1793, allocations: 81.09 kB / 0.5999 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1794, allocations: 0 / 0.5999 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.1798, allocations: 43.97 kB / 0.6 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.1798, allocations: 0 / 0.6 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1798, allocations: 4 kB / 0.6 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.1798, allocations: 79.28 kB / 0.6 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1798, allocations: 4 kB / 0.6001 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002681/0.1801, allocations: 11.98 kB / 0.6001 GB, free: 3.707 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.0001952/0.1803, allocations: 103.2 kB / 0.6002 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.1816, allocations: 183.8 kB / 0.6003 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1816, allocations: 0 / 0.6003 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006198/0.1823, allocations: 96.06 kB / 0.6004 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1825, allocations: 3.938 kB / 0.6004 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1837, allocations: 258 kB / 0.6007 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1839, allocations: 0.677 MB / 0.6013 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.311e-05/0.184, allocations: 11.44 kB / 0.6014 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.184, allocations: 3.938 kB / 0.6014 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of Templates: time 0.002631/0.1867, allocations: 1.092 MB / 0.6024 GB, free: 1.23 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)