Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.001323/0.001323, allocations: 102.7 kB / 16.45 MB, free: 6.5 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.001427/0.001427, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.9081/0.9081, allocations: 145 MB / 453.8 MB, free: 0.707 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.00195/0.00195, allocations: 66.36 kB / 0.628 GB, free: 10.61 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1778, allocations: 87.82 MB / 0.7138 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002842/0.1806, allocations: 1.454 MB / 0.7152 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1821, allocations: 0.8197 MB / 0.716 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.1822, allocations: 4 kB / 0.716 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.337e-05/0.1822, allocations: 3.938 kB / 0.716 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.1823, allocations: 7.984 kB / 0.716 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007281/0.183, allocations: 174.3 kB / 0.7162 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1831, allocations: 43.95 kB / 0.7163 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.1832, allocations: 7.938 kB / 0.7163 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.1833, allocations: 19.92 kB / 0.7163 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.1833, allocations: 15.98 kB / 0.7163 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1833, allocations: 8 kB / 0.7163 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.1837, allocations: 211.6 kB / 0.7165 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.1837, allocations: 11.92 kB / 0.7165 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.1838, allocations: 24 kB / 0.7165 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.1841, allocations: 191.5 kB / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1841, allocations: 0 / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1841, allocations: 0 / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.1841, allocations: 0 / 0.7167 GB, free: 15.79 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005612/0.1846, allocations: 430.5 kB / 0.7171 GB, free: 15.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1847, allocations: 12.03 kB / 0.7171 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.1847, allocations: 34.75 kB / 0.7172 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.1848, allocations: 4.938 kB / 0.7172 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.1849, allocations: 176.2 kB / 0.7173 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1849, allocations: 8.375 kB / 0.7174 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1849, allocations: 8.25 kB / 0.7174 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.1851, allocations: 77.8 kB / 0.7174 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1852, allocations: 0 / 0.7174 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1852, allocations: 3.984 kB / 0.7174 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1852, allocations: 0 / 0.7174 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1853, allocations: 47.97 kB / 0.7175 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.1858, allocations: 276.9 kB / 0.7178 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1859, allocations: 58.48 kB / 0.7178 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.186, allocations: 44.92 kB / 0.7179 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.186, allocations: 7.969 kB / 0.7179 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.186, allocations: 34.56 kB / 0.7179 GB, free: 14.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.186, allocations: 0 / 0.7179 GB, free: 14.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004389/0.1865, allocations: 183.3 kB / 0.7181 GB, free: 14.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.1865, allocations: 85.09 kB / 0.7181 GB, free: 14.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1866, allocations: 121.8 kB / 0.7183 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1867, allocations: 29.7 kB / 0.7183 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.1867, allocations: 92.11 kB / 0.7184 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1867, allocations: 11.94 kB / 0.7184 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.1868, allocations: 21.72 kB / 0.7184 GB, free: 13.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1869, allocations: 326.8 kB / 0.7187 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.187, allocations: 55.97 kB / 0.7188 GB, free: 13.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.427e-05/0.1871, allocations: 51.97 kB / 0.7188 GB, free: 13.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.1874, allocations: 202 kB / 0.719 GB, free: 13.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1874, allocations: 0 / 0.719 GB, free: 13.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002936/0.1877, allocations: 217 kB / 0.7192 GB, free: 12.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.1877, allocations: 63.39 kB / 0.7193 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1877, allocations: 0 / 0.7193 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1877, allocations: 7.938 kB / 0.7193 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.1878, allocations: 3.938 kB / 0.7193 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1878, allocations: 0 / 0.7193 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.1879, allocations: 15.89 kB / 0.7193 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1879, allocations: 3.984 kB / 0.7193 GB, free: 12.83 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.0001121/0.188, allocations: 147.5 kB / 0.7195 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.188, allocations: 8 kB / 0.7195 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.188, allocations: 11.89 kB / 0.7195 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.188, allocations: 0 / 0.7195 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.188, allocations: 0 / 0.7195 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1881, allocations: 4 kB / 0.7195 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1882, allocations: 173.6 kB / 0.7196 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1882, allocations: 0 / 0.7196 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.1883, allocations: 4 kB / 0.7196 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1883, allocations: 0 / 0.7196 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1883, allocations: 3.938 kB / 0.7197 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1883, allocations: 4 kB / 0.7197 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1883, allocations: 4 kB / 0.7197 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.1886, allocations: 253 kB / 0.7199 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1886, allocations: 77.11 kB / 0.72 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1886, allocations: 8 kB / 0.72 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.1887, allocations: 4 kB / 0.72 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.1888, allocations: 3.984 kB / 0.72 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.1888, allocations: 8.031 kB / 0.72 GB, free: 12.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.12e-05/0.1889, allocations: 99.64 kB / 0.7201 GB, free: 11.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1889, allocations: 0 / 0.7201 GB, free: 11.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004025/0.1893, allocations: 63.83 kB / 0.7202 GB, free: 11.86 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.00079/0.1901, allocations: 0.8273 MB / 0.721 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.1905, allocations: 238.7 kB / 0.7212 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1905, allocations: 0 / 0.7212 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1906, allocations: 103.3 kB / 0.7213 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1908, allocations: 4.812 kB / 0.7213 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.1929, allocations: 1.775 MB / 0.723 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1932, allocations: 0.6888 MB / 0.7237 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.1932, allocations: 3.984 kB / 0.7237 GB, free: 8.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.1932, allocations: 11.44 kB / 0.7237 GB, free: 8.031 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.1932, allocations: 0 / 0.7237 GB, free: 8.031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.2185, allocations: 2.798 MB / 0.7264 GB, free: 5.414 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.921, allocations: 15.11 kB / 0.7265 GB, free: 5.406 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_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_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.725732935999986] Failed to read output from testmodel.py, exit status != 0: 7.992103970987955 8.009474643 7.821366433 Calling exit ...