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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 107.2 kB / 16.4 MB, free: 6.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 191.7 kB / 19.35 MB, free: 3.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9559/0.9559, allocations: 143.3 MB / 440.5 MB, free: 11.22 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 64.89 kB / 0.6039 GB, free: 11.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1798, allocations: 82.04 MB / 0.684 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001881/0.1817, allocations: 0.59 MB / 0.6845 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1835, allocations: 1.104 MB / 0.6856 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.1835, allocations: 0 / 0.6856 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.1835, allocations: 0 / 0.6856 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1838, allocations: 15.92 kB / 0.6856 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.1838, allocations: 0 / 0.6856 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.263e-05/0.1838, allocations: 8 kB / 0.6857 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.1839, allocations: 4 kB / 0.6857 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.1839, allocations: 11.86 kB / 0.6857 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.352e-05/0.1839, allocations: 4 kB / 0.6857 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-06/0.1839, allocations: 0 / 0.6857 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1841, allocations: 19.97 kB / 0.6857 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.701e-06/0.1841, allocations: 0 / 0.6857 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.222e-05/0.1841, allocations: 0 / 0.6857 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1843, allocations: 28.06 kB / 0.6857 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1843, allocations: 4 kB / 0.6857 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1843, allocations: 0 / 0.6857 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1844, allocations: 0 / 0.6857 GB, free: 7.828 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.0003376/0.1847, allocations: 315.5 kB / 0.686 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1847, allocations: 8.031 kB / 0.686 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.1848, allocations: 34.69 kB / 0.6861 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.1848, allocations: 12.92 kB / 0.6861 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.185, allocations: 160.4 kB / 0.6862 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.185, allocations: 384 / 0.6862 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.185, allocations: 384 / 0.6862 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1851, allocations: 37.81 kB / 0.6863 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1851, allocations: 3.953 kB / 0.6863 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1852, allocations: 12 kB / 0.6863 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1852, allocations: 0 / 0.6863 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.1852, allocations: 7.938 kB / 0.6863 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.1856, allocations: 149.7 kB / 0.6864 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1858, allocations: 26.72 kB / 0.6865 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.1858, allocations: 16.84 kB / 0.6865 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.186, allocations: 81.11 kB / 0.6865 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.186, allocations: 38.5 kB / 0.6866 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.186, allocations: 0 / 0.6866 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004372/0.1904, allocations: 0.5677 MB / 0.6871 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1904, allocations: 55.34 kB / 0.6872 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.553e-05/0.1905, allocations: 89.86 kB / 0.6873 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1905, allocations: 25.7 kB / 0.6873 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.1906, allocations: 88.12 kB / 0.6874 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.1906, allocations: 23.8 kB / 0.6874 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.1907, allocations: 25.66 kB / 0.6874 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1908, allocations: 314.8 kB / 0.6877 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006487/0.1915, allocations: 83.95 kB / 0.6878 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.1921, allocations: 102.5 kB / 0.6879 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.1934, allocations: 186.4 kB / 0.6881 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1934, allocations: 0 / 0.6881 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001355/0.1948, allocations: 221.5 kB / 0.6883 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1948, allocations: 8 kB / 0.6883 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1948, allocations: 0 / 0.6883 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.1948, allocations: 0 / 0.6883 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.1953, allocations: 52 kB / 0.6884 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1954, allocations: 0 / 0.6884 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.1957, allocations: 39.98 kB / 0.6884 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1957, allocations: 0 / 0.6884 GB, free: 4.82 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 9.616e-05/0.1958, allocations: 117.8 kB / 0.6885 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.1959, allocations: 3.938 kB / 0.6885 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.1973, allocations: 241.3 kB / 0.6887 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1973, allocations: 432 / 0.6887 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1973, allocations: 4 kB / 0.6887 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1974, allocations: 0 / 0.6887 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.1989, allocations: 462.3 kB / 0.6892 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1989, allocations: 0 / 0.6892 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.1993, allocations: 55.95 kB / 0.6892 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1993, allocations: 0 / 0.6892 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1994, allocations: 8 kB / 0.6892 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1994, allocations: 0 / 0.6892 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1994, allocations: 0 / 0.6892 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.2007, allocations: 307.3 kB / 0.6895 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.2008, allocations: 77.11 kB / 0.6896 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.2008, allocations: 3.984 kB / 0.6896 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.2012, allocations: 39.98 kB / 0.6897 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.2012, allocations: 0 / 0.6897 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.2012, allocations: 12 kB / 0.6897 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.567e-05/0.2013, allocations: 83.2 kB / 0.6897 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2013, allocations: 0 / 0.6897 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002451/0.2015, allocations: 8 kB / 0.6898 GB, free: 3.324 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.001666/0.2032, allocations: 0.8451 MB / 0.6906 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.2045, allocations: 175.9 kB / 0.6907 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2045, allocations: 0 / 0.6907 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006135/0.2051, allocations: 92.06 kB / 0.6908 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.2053, allocations: 7.938 kB / 0.6908 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.2068, allocations: 238.5 kB / 0.6911 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.2071, allocations: 0.6807 MB / 0.6917 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.2074, allocations: 27.94 kB / 0.6918 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.2074, allocations: 15.44 kB / 0.6918 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.2075, allocations: 4 kB / 0.6918 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.2315, allocations: 1.655 MB / 0.6934 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.127, allocations: 10.47 kB / 0.6934 GB, free: 15.64 MB / 0.5294 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.942520004929975] Failed to read output from testmodel.py, exit status != 0: 8.194015678018332 8.217134373 8.030022522 Calling exit ...