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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 214.3 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9076/0.9076, allocations: 145 MB / 457.4 MB, free: 15.51 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 66.44 kB / 0.6332 GB, free: 7.273 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1849, allocations: 87.88 MB / 0.719 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00175/0.1866, allocations: 0.5922 MB / 0.7196 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1881, allocations: 1.171 MB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.1881, allocations: 4 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.1881, allocations: 0 / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.1884, allocations: 11.94 kB / 0.7208 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.396e-06/0.1884, allocations: 4 kB / 0.7208 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.808e-05/0.1884, allocations: 4 kB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.1885, allocations: 7.922 kB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.1885, allocations: 7.984 kB / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.25e-05/0.1885, allocations: 0 / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.1885, allocations: 0 / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1886, allocations: 19.98 kB / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.205e-06/0.1886, allocations: 3.938 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.1887, allocations: 3.938 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.022e-05/0.1887, allocations: 15.97 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1887, allocations: 0 / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1887, allocations: 4 kB / 0.7208 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1888, allocations: 0 / 0.7208 GB, free: 13.53 MB / 0.545 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.0003/0.1891, allocations: 246.4 kB / 0.7211 GB, free: 13.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1891, allocations: 12.03 kB / 0.7211 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.1891, allocations: 30.75 kB / 0.7211 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.1891, allocations: 0.9375 kB / 0.7211 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.121e-05/0.1892, allocations: 106.5 kB / 0.7212 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1892, allocations: 4.375 kB / 0.7212 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1893, allocations: 4.312 kB / 0.7212 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1894, allocations: 45.61 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1894, allocations: 0 / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.1894, allocations: 3.938 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1894, allocations: 0 / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.1894, allocations: 8 kB / 0.7213 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.1896, allocations: 120.8 kB / 0.7214 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1897, allocations: 38.55 kB / 0.7214 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.1898, allocations: 16.86 kB / 0.7214 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.1899, allocations: 12.03 kB / 0.7215 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1899, allocations: 38.48 kB / 0.7215 GB, free: 12.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.1899, allocations: 0 / 0.7215 GB, free: 12.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.004407/0.1943, allocations: 0.5715 MB / 0.7221 GB, free: 12.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.1944, allocations: 51.41 kB / 0.7221 GB, free: 12.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.1944, allocations: 93.86 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.1944, allocations: 29.7 kB / 0.7222 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.1945, allocations: 80.14 kB / 0.7223 GB, free: 11.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.1945, allocations: 11.91 kB / 0.7223 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.1946, allocations: 17.7 kB / 0.7223 GB, free: 11.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1948, allocations: 318.8 kB / 0.7226 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/0.1954, allocations: 79.95 kB / 0.7227 GB, free: 11.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/0.1959, allocations: 106.5 kB / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.1971, allocations: 186.4 kB / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1971, allocations: 0 / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001262/0.1984, allocations: 221.5 kB / 0.7232 GB, free: 10.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1984, allocations: 4 kB / 0.7232 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.1984, allocations: 4 kB / 0.7232 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.1984, allocations: 0 / 0.7232 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.1988, allocations: 48 kB / 0.7232 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1988, allocations: 4 kB / 0.7233 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.1992, allocations: 39.97 kB / 0.7233 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.1992, allocations: 4 kB / 0.7233 GB, free: 10.8 MB / 0.545 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 0.0001031/0.1993, allocations: 111.2 kB / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.1993, allocations: 7.938 kB / 0.7234 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.2006, allocations: 237.1 kB / 0.7236 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2006, allocations: 0 / 0.7236 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.2006, allocations: 8.188 kB / 0.7236 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2006, allocations: 0 / 0.7236 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.2022, allocations: 441.4 kB / 0.7241 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2022, allocations: 0 / 0.7241 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.2025, allocations: 47.97 kB / 0.7241 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2025, allocations: 0 / 0.7241 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2026, allocations: 8 kB / 0.7241 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2026, allocations: 0 / 0.7241 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.2026, allocations: 3.984 kB / 0.7241 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.2038, allocations: 295.4 kB / 0.7244 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.2038, allocations: 12.41 kB / 0.7244 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.2039, allocations: 0 / 0.7244 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.2042, allocations: 39.98 kB / 0.7245 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.2042, allocations: 7.875 kB / 0.7245 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2042, allocations: 7.984 kB / 0.7245 GB, free: 9.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.2043, allocations: 79.28 kB / 0.7245 GB, free: 9.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2043, allocations: 0 / 0.7245 GB, free: 9.441 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002561/0.2045, allocations: 15.88 kB / 0.7246 GB, free: 9.426 MB / 0.545 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.001641/0.2062, allocations: 0.8335 MB / 0.7254 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.2074, allocations: 179.9 kB / 0.7255 GB, free: 8.387 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2074, allocations: 0 / 0.7255 GB, free: 8.387 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005631/0.208, allocations: 88.08 kB / 0.7256 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.2082, allocations: 10.81 kB / 0.7256 GB, free: 8.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2095, allocations: 249 kB / 0.7259 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.2099, allocations: 0.6768 MB / 0.7265 GB, free: 7.309 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.21, allocations: 31.98 kB / 0.7266 GB, free: 7.277 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.2101, allocations: 19.42 kB / 0.7266 GB, free: 7.258 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.2101, allocations: 0 / 0.7266 GB, free: 7.258 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.2381, allocations: 1.745 MB / 0.7283 GB, free: 5.652 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.97, allocations: 4.406 kB / 0.7283 GB, free: 5.652 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.757062650998705] Failed to read output from testmodel.py, exit status != 0: 11.067714490000071 11.083241708 10.891308648 Calling exit ...