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.001429/0.001429, allocations: 106.1 kB / 16.45 MB, free: 6.508 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.001497/0.001497, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 9.098 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.9379/0.9379, allocations: 145 MB / 453.8 MB, free: 0.6641 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.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.001926/0.001926, allocations: 69.3 kB / 0.6281 GB, free: 10.53 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1807, allocations: 87.83 MB / 0.7139 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001806/0.1825, allocations: 0.6058 MB / 0.7144 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.1846, allocations: 1.51 MB / 0.7159 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.1846, allocations: 0 / 0.7159 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.1847, allocations: 0 / 0.7159 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.1847, allocations: 7.984 kB / 0.7159 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.1854, allocations: 207.5 kB / 0.7161 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.505e-05/0.1855, allocations: 35.97 kB / 0.7162 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.1855, allocations: 3.938 kB / 0.7162 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.1856, allocations: 19.92 kB / 0.7162 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.226e-05/0.1856, allocations: 23.95 kB / 0.7162 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1856, allocations: 4 kB / 0.7162 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.186, allocations: 255.6 kB / 0.7164 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.1861, allocations: 7.984 kB / 0.7165 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.1861, allocations: 15.88 kB / 0.7165 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.1865, allocations: 219.5 kB / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1865, allocations: 0 / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1865, allocations: 0 / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1865, allocations: 4 kB / 0.7167 GB, free: 15.78 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.0004823/0.1869, allocations: 396.8 kB / 0.7171 GB, free: 15.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.187, allocations: 8.031 kB / 0.7171 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.187, allocations: 42.73 kB / 0.7171 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.1871, allocations: 4.891 kB / 0.7171 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1872, allocations: 176.3 kB / 0.7173 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.1872, allocations: 384 / 0.7173 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1872, allocations: 16.25 kB / 0.7173 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1874, allocations: 81.7 kB / 0.7174 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1874, allocations: 0 / 0.7174 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1874, allocations: 4 kB / 0.7174 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1874, allocations: 0 / 0.7174 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.573e-05/0.1875, allocations: 35.97 kB / 0.7174 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.1877, allocations: 161.7 kB / 0.7176 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.1877, allocations: 46.56 kB / 0.7176 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.1878, allocations: 44.86 kB / 0.7177 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-06/0.1878, allocations: 0 / 0.7177 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.1878, allocations: 42.44 kB / 0.7177 GB, free: 14.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.1878, allocations: 0 / 0.7177 GB, free: 14.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003266/0.1882, allocations: 183.3 kB / 0.7179 GB, free: 14.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.1882, allocations: 89.09 kB / 0.718 GB, free: 14.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.1883, allocations: 109.8 kB / 0.7181 GB, free: 14.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1883, allocations: 29.7 kB / 0.7181 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.1884, allocations: 88.17 kB / 0.7182 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.1884, allocations: 23.78 kB / 0.7182 GB, free: 14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.1885, allocations: 21.72 kB / 0.7182 GB, free: 13.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1886, allocations: 314.8 kB / 0.7185 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.1887, allocations: 31.98 kB / 0.7185 GB, free: 13.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.1887, allocations: 43.91 kB / 0.7186 GB, free: 13.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1889, allocations: 140.2 kB / 0.7187 GB, free: 13.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1889, allocations: 0 / 0.7187 GB, free: 13.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002096/0.1891, allocations: 159.4 kB / 0.7189 GB, free: 13.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.1891, allocations: 41.69 kB / 0.7189 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1891, allocations: 0 / 0.7189 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1891, allocations: 0 / 0.7189 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1891, allocations: 0 / 0.7189 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1892, allocations: 8 kB / 0.7189 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1893, allocations: 7.984 kB / 0.7189 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1893, allocations: 4 kB / 0.7189 GB, free: 13.2 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.0001158/0.1894, allocations: 147.5 kB / 0.7191 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.1894, allocations: 15.97 kB / 0.7191 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.188e-05/0.1894, allocations: 4.375 kB / 0.7191 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-06/0.1894, allocations: 0 / 0.7191 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1894, allocations: 7.875 kB / 0.7191 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.1894, allocations: 0 / 0.7191 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.1896, allocations: 169.6 kB / 0.7193 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1896, allocations: 4 kB / 0.7193 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-06/0.1896, allocations: 3.938 kB / 0.7193 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1896, allocations: 0 / 0.7193 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1896, allocations: 11.92 kB / 0.7193 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1896, allocations: 4 kB / 0.7193 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1896, allocations: 0 / 0.7193 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1899, allocations: 191.4 kB / 0.7195 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.1899, allocations: 85 kB / 0.7196 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1899, allocations: 7.984 kB / 0.7196 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.403e-05/0.19, allocations: 4 kB / 0.7196 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.19, allocations: 8 kB / 0.7196 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.634e-05/0.19, allocations: 7.984 kB / 0.7196 GB, free: 12.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.332e-05/0.1901, allocations: 91.3 kB / 0.7197 GB, free: 12.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1901, allocations: 0 / 0.7197 GB, free: 12.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003151/0.1904, allocations: 79.86 kB / 0.7197 GB, free: 12.27 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.0007689/0.1912, allocations: 0.7973 MB / 0.7205 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1914, allocations: 167.3 kB / 0.7207 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1914, allocations: 0 / 0.7207 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1916, allocations: 119.3 kB / 0.7208 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.1917, allocations: 7.938 kB / 0.7208 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.1922, allocations: 222.3 kB / 0.721 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1925, allocations: 0.6807 MB / 0.7217 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.37e-06/0.1925, allocations: 3.938 kB / 0.7217 GB, free: 10.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.1925, allocations: 11.44 kB / 0.7217 GB, free: 10.14 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1925, allocations: 0 / 0.7217 GB, free: 10.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.2181, allocations: 3.167 MB / 0.7248 GB, free: 7.129 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.158, allocations: 16.59 kB / 0.7248 GB, free: 7.113 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.970924872992327] Failed to read output from testmodel.py, exit status != 0: 8.227902387996437 8.248186908 8.057870717 Calling exit ...