Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001393/0.001393, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001823/0.001823, allocations: 213.9 kB / 22.25 MB, free: 5.242 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.797 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.94/0.94, allocations: 145 MB / 457.4 MB, free: 15.28 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.SmoothInterpolation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",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.002065/0.002065, allocations: 62.72 kB / 0.6331 GB, free: 6.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.184, allocations: 87.9 MB / 0.719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00194/0.186, allocations: 0.6001 MB / 0.7196 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1883, allocations: 1.439 MB / 0.721 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.1883, allocations: 0 / 0.721 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.1884, allocations: 0 / 0.721 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.1884, allocations: 11.92 kB / 0.721 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007826/0.1892, allocations: 211.5 kB / 0.7212 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.1893, allocations: 31.91 kB / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.1894, allocations: 11.94 kB / 0.7212 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.1894, allocations: 19.97 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.1894, allocations: 19.92 kB / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1895, allocations: 4 kB / 0.7213 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.19, allocations: 267.6 kB / 0.7215 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.19, allocations: 3.938 kB / 0.7215 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.19, allocations: 15.92 kB / 0.7215 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.1904, allocations: 211.4 kB / 0.7217 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1904, allocations: 0 / 0.7217 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1904, allocations: 0 / 0.7217 GB, free: 11.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.1904, allocations: 4 kB / 0.7217 GB, free: 11.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004369/0.1908, allocations: 339.6 kB / 0.7221 GB, free: 11.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1909, allocations: 8.031 kB / 0.7221 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.1909, allocations: 34.69 kB / 0.7221 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1909, allocations: 8.891 kB / 0.7221 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1911, allocations: 114.5 kB / 0.7222 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1911, allocations: 384 / 0.7222 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.1911, allocations: 4.375 kB / 0.7222 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1913, allocations: 115.4 kB / 0.7223 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1913, allocations: 0 / 0.7223 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1913, allocations: 0 / 0.7223 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1913, allocations: 4 kB / 0.7223 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.1914, allocations: 69.66 kB / 0.7224 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.1916, allocations: 128.8 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1917, allocations: 88.25 kB / 0.7226 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.1918, allocations: 66.56 kB / 0.7227 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.1918, allocations: 4 kB / 0.7227 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1918, allocations: 42.44 kB / 0.7227 GB, free: 10.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1918, allocations: 0 / 0.7227 GB, free: 10.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003776/0.1922, allocations: 250.7 kB / 0.723 GB, free: 10.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1923, allocations: 81.11 kB / 0.723 GB, free: 10.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1924, allocations: 117.9 kB / 0.7231 GB, free: 10.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1924, allocations: 25.7 kB / 0.7232 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.1924, allocations: 84.14 kB / 0.7233 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.1925, allocations: 27.94 kB / 0.7233 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.1925, allocations: 21.72 kB / 0.7233 GB, free: 10.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1927, allocations: 314.8 kB / 0.7236 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.1927, allocations: 65.67 kB / 0.7237 GB, free: 9.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.1928, allocations: 77.59 kB / 0.7237 GB, free: 9.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.193, allocations: 148.2 kB / 0.7239 GB, free: 9.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.193, allocations: 0 / 0.7239 GB, free: 9.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002337/0.1932, allocations: 184.9 kB / 0.7241 GB, free: 9.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.1933, allocations: 41.75 kB / 0.7241 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1933, allocations: 0 / 0.7241 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1933, allocations: 4 kB / 0.7241 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.1933, allocations: 0 / 0.7241 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1933, allocations: 0 / 0.7241 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1934, allocations: 11.98 kB / 0.7241 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1934, allocations: 4 kB / 0.7241 GB, free: 9.211 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001351/0.1936, allocations: 159.5 kB / 0.7243 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.1936, allocations: 7.938 kB / 0.7243 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.1936, allocations: 8.359 kB / 0.7243 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1936, allocations: 7.938 kB / 0.7243 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1936, allocations: 4 kB / 0.7243 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1936, allocations: 0 / 0.7243 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.1938, allocations: 136.6 kB / 0.7244 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1938, allocations: 0 / 0.7244 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-06/0.1938, allocations: 3.938 kB / 0.7244 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1938, allocations: 0 / 0.7244 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1938, allocations: 8 kB / 0.7244 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1938, allocations: 3.984 kB / 0.7244 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1938, allocations: 0 / 0.7244 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.1941, allocations: 221.1 kB / 0.7246 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.1941, allocations: 15.92 kB / 0.7247 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1941, allocations: 4 kB / 0.7247 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.1941, allocations: 11.98 kB / 0.7247 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.1942, allocations: 0 / 0.7247 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1942, allocations: 8 kB / 0.7247 GB, free: 8.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.826e-05/0.1942, allocations: 95.25 kB / 0.7248 GB, free: 8.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1942, allocations: 0 / 0.7248 GB, free: 8.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002981/0.1945, allocations: 71.86 kB / 0.7248 GB, free: 8.367 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008201/0.1954, allocations: 0.8302 MB / 0.7257 GB, free: 7.496 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1957, allocations: 226.7 kB / 0.7259 GB, free: 7.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1957, allocations: 0 / 0.7259 GB, free: 7.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1958, allocations: 153 kB / 0.726 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.196, allocations: 10.03 kB / 0.726 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.1965, allocations: 252.6 kB / 0.7263 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.626e-05/0.1965, allocations: 67.34 kB / 0.7263 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.42e-06/0.1966, allocations: 0 / 0.7263 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.1966, allocations: 15.42 kB / 0.7263 GB, free: 6.68 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.1966, allocations: 3.938 kB / 0.7264 GB, free: 6.676 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.2271, allocations: 3.701 MB / 0.73 GB, free: 3.125 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.48, allocations: 17.12 kB / 0.73 GB, free: 3.113 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.297343356069177] Failed to read output from testmodel.py, exit status != 0: 11.58762622345239 11.612873876 11.419289248 Calling exit ...