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.001659/0.001659, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001917/0.001917, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.559/1.559, allocations: 222.9 MB / 241 MB, free: 15.16 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.8692/0.8692, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.36 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1729, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001767/0.1747, allocations: 0.5993 MB / 0.6769 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1762, allocations: 1.108 MB / 0.678 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.1762, allocations: 0 / 0.678 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.1763, allocations: 0 / 0.678 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.1766, allocations: 19.92 kB / 0.678 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.527e-06/0.1766, allocations: 0 / 0.678 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.1766, allocations: 7.922 kB / 0.678 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.1767, allocations: 4 kB / 0.678 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.329e-05/0.1767, allocations: 4 kB / 0.678 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.271e-05/0.1767, allocations: 3.938 kB / 0.6781 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.1767, allocations: 0 / 0.6781 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1768, allocations: 23.92 kB / 0.6781 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-06/0.1769, allocations: 3.984 kB / 0.6781 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.1769, allocations: 4 kB / 0.6781 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.578e-05/0.177, allocations: 11.98 kB / 0.6781 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.177, allocations: 0 / 0.6781 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.096e-06/0.177, allocations: 0 / 0.6781 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.177, allocations: 3.938 kB / 0.6781 GB, free: 8.516 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.000282/0.1773, allocations: 315.6 kB / 0.6784 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1773, allocations: 12.03 kB / 0.6784 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1774, allocations: 0.9375 kB / 0.6784 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.244e-05/0.1775, allocations: 164.4 kB / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1775, allocations: 8.375 kB / 0.6786 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1775, allocations: 4.375 kB / 0.6786 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.525e-05/0.1776, allocations: 41.94 kB / 0.6786 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1776, allocations: 3.938 kB / 0.6786 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1776, allocations: 0 / 0.6786 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1776, allocations: 0 / 0.6786 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.1777, allocations: 11.98 kB / 0.6786 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.1778, allocations: 145.7 kB / 0.6788 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.178, allocations: 38.61 kB / 0.6788 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.178, allocations: 4.859 kB / 0.6788 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.1782, allocations: 89.19 kB / 0.6789 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1782, allocations: 38.44 kB / 0.6789 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1782, allocations: 0 / 0.6789 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004316/0.1825, allocations: 0.587 MB / 0.6795 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.1826, allocations: 51.41 kB / 0.6796 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.75e-05/0.1827, allocations: 89.86 kB / 0.6796 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1827, allocations: 25.7 kB / 0.6797 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.1827, allocations: 80.14 kB / 0.6797 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.1828, allocations: 15.81 kB / 0.6798 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.1828, allocations: 17.7 kB / 0.6798 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.183, allocations: 318.8 kB / 0.6801 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/0.1836, allocations: 83.95 kB / 0.6802 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.1842, allocations: 106.5 kB / 0.6803 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.1853, allocations: 186.4 kB / 0.6804 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1854, allocations: 0 / 0.6804 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001291/0.1867, allocations: 221.5 kB / 0.6807 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1867, allocations: 4 kB / 0.6807 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1867, allocations: 0 / 0.6807 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1867, allocations: 4 kB / 0.6807 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.1871, allocations: 48 kB / 0.6807 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1871, allocations: 3.938 kB / 0.6807 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.1875, allocations: 43.97 kB / 0.6808 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1875, allocations: 4 kB / 0.6808 GB, free: 5.535 MB / 0.5137 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 8.519e-05/0.1876, allocations: 118.4 kB / 0.6809 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.1876, allocations: 3.938 kB / 0.6809 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.189, allocations: 233.1 kB / 0.6811 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.189, allocations: 0 / 0.6811 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.189, allocations: 0 / 0.6811 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.189, allocations: 7.984 kB / 0.6811 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.1906, allocations: 462.5 kB / 0.6815 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1906, allocations: 4.062 kB / 0.6815 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.191, allocations: 51.97 kB / 0.6816 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.191, allocations: 0 / 0.6816 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.191, allocations: 0 / 0.6816 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.191, allocations: 0 / 0.6816 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.191, allocations: 3.938 kB / 0.6816 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.1923, allocations: 315.3 kB / 0.6819 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.1924, allocations: 77.11 kB / 0.682 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1924, allocations: 0 / 0.682 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.1928, allocations: 39.98 kB / 0.682 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.1928, allocations: 7.984 kB / 0.682 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1928, allocations: 0 / 0.682 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.167e-05/0.1929, allocations: 75.28 kB / 0.6821 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1929, allocations: 0 / 0.6821 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00026/0.1931, allocations: 12 kB / 0.6821 GB, free: 4.051 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 (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.0002021/0.1934, allocations: 111.2 kB / 0.6822 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.1947, allocations: 179.8 kB / 0.6824 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1947, allocations: 0 / 0.6824 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000599/0.1953, allocations: 92.08 kB / 0.6825 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.1955, allocations: 4 kB / 0.6825 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1967, allocations: 242.5 kB / 0.6827 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1969, allocations: 0.6806 MB / 0.6834 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.441e-05/0.197, allocations: 15.42 kB / 0.6834 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1971, allocations: 4 kB / 0.6834 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of Templates: time 0.002622/0.1997, allocations: 1.117 MB / 0.6845 GB, free: 1.559 MB / 0.5137 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)