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.001364/0.001364, 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.00149/0.00149, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 8.008 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.9468/0.9468, allocations: 145 MB / 457.4 MB, free: 15.64 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.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.001945/0.001945, allocations: 66.89 kB / 0.6332 GB, free: 7.352 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1894, allocations: 87.88 MB / 0.719 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002922/0.1924, allocations: 1.448 MB / 0.7204 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1941, allocations: 0.8507 MB / 0.7213 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.1941, allocations: 0 / 0.7213 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.284e-05/0.1942, allocations: 0 / 0.7213 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.214e-05/0.1942, allocations: 3.938 kB / 0.7213 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.1949, allocations: 186.2 kB / 0.7214 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.195, allocations: 47.91 kB / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.698e-05/0.1951, allocations: 0 / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.1951, allocations: 23.92 kB / 0.7215 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.1952, allocations: 15.98 kB / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1952, allocations: 4 kB / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004197/0.1956, allocations: 231.6 kB / 0.7217 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.1957, allocations: 12 kB / 0.7218 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.1957, allocations: 19.86 kB / 0.7218 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.196, allocations: 187.5 kB / 0.722 GB, free: 12.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.196, allocations: 8 kB / 0.722 GB, free: 12.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.196, allocations: 0 / 0.722 GB, free: 12.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.196, allocations: 4 kB / 0.722 GB, free: 12.43 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.0005387/0.1966, allocations: 355.6 kB / 0.7223 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1966, allocations: 12.03 kB / 0.7223 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.1967, allocations: 38.67 kB / 0.7224 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.1967, allocations: 8.875 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1968, allocations: 114.5 kB / 0.7225 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1968, allocations: 384 / 0.7225 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1968, allocations: 4.375 kB / 0.7225 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.197, allocations: 89.77 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1971, allocations: 0 / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1971, allocations: 0 / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1971, allocations: 0 / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1972, allocations: 47.97 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.1976, allocations: 251.8 kB / 0.7228 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1977, allocations: 62.55 kB / 0.7229 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.1978, allocations: 48.91 kB / 0.723 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.1978, allocations: 0 / 0.723 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1979, allocations: 34.5 kB / 0.723 GB, free: 11.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1979, allocations: 4 kB / 0.723 GB, free: 11.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004329/0.1983, allocations: 187.2 kB / 0.7232 GB, free: 11.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.1984, allocations: 85.14 kB / 0.7232 GB, free: 10.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1985, allocations: 125.8 kB / 0.7234 GB, free: 10.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1985, allocations: 25.7 kB / 0.7234 GB, free: 10.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.1986, allocations: 92.12 kB / 0.7235 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.1986, allocations: 7.906 kB / 0.7235 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.1987, allocations: 21.72 kB / 0.7235 GB, free: 10.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1988, allocations: 318.8 kB / 0.7238 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1989, allocations: 55.97 kB / 0.7239 GB, free: 10.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.199, allocations: 67.95 kB / 0.7239 GB, free: 10.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.1993, allocations: 193.9 kB / 0.7241 GB, free: 10 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1993, allocations: 0 / 0.7241 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003111/0.1996, allocations: 213 kB / 0.7243 GB, free: 9.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.1997, allocations: 69.58 kB / 0.7244 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1997, allocations: 3.938 kB / 0.7244 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1997, allocations: 0 / 0.7244 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.1998, allocations: 4 kB / 0.7244 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1998, allocations: 4 kB / 0.7244 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.1998, allocations: 11.94 kB / 0.7244 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1998, allocations: 4 kB / 0.7244 GB, free: 9.668 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.0001284/0.2, allocations: 147.5 kB / 0.7246 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.2, allocations: 3.984 kB / 0.7246 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.2, allocations: 8 kB / 0.7246 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2, allocations: 0 / 0.7246 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2, allocations: 0 / 0.7246 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.2, allocations: 0 / 0.7246 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.2002, allocations: 156.6 kB / 0.7247 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2002, allocations: 0 / 0.7247 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.2002, allocations: 0 / 0.7247 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.2002, allocations: 4 kB / 0.7247 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2003, allocations: 4 kB / 0.7247 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2003, allocations: 4.062 kB / 0.7247 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2003, allocations: 3.938 kB / 0.7247 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.2006, allocations: 257.1 kB / 0.725 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.2006, allocations: 0 / 0.725 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.2006, allocations: 4.234 kB / 0.725 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.2007, allocations: 4 kB / 0.725 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2008, allocations: 7.984 kB / 0.725 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2008, allocations: 7.984 kB / 0.725 GB, free: 8.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.857e-05/0.2009, allocations: 95.27 kB / 0.7251 GB, free: 8.887 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2009, allocations: 3.938 kB / 0.7251 GB, free: 8.883 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000323/0.2012, allocations: 63.88 kB / 0.7252 GB, free: 8.82 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.0007736/0.202, allocations: 0.835 MB / 0.726 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.2023, allocations: 234.7 kB / 0.7262 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2023, allocations: 0 / 0.7262 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.2025, allocations: 103.4 kB / 0.7263 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.2027, allocations: 6.438 kB / 0.7263 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.2047, allocations: 1.764 MB / 0.728 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.205, allocations: 0.6924 MB / 0.7287 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.2051, allocations: 0 / 0.7287 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.2051, allocations: 11.44 kB / 0.7287 GB, free: 5 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.2051, allocations: 0 / 0.7287 GB, free: 5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.2342, allocations: 2.897 MB / 0.7315 GB, free: 2.273 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.1, allocations: 14.81 kB / 0.7315 GB, free: 2.262 MB / 0.545 GB " [Timeout remaining time 649] (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: 15.121518064002885] Failed to read output from testmodel.py, exit status != 0: 11.20217899400086 11.21869732 11.019501289 Calling exit ...