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.001335/0.001335, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001571/0.001571, allocations: 217.1 kB / 22.24 MB, free: 5.105 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.812 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.9321/0.9321, allocations: 145 MB / 457.4 MB, free: 15.33 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.002054/0.002054, allocations: 75.17 kB / 0.6331 GB, free: 6.793 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1579, allocations: 87.88 MB / 0.7189 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002911/0.1608, allocations: 1.443 MB / 0.7203 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1623, allocations: 0.7845 MB / 0.7211 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.1623, allocations: 4 kB / 0.7211 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.877e-05/0.1624, allocations: 3.938 kB / 0.7211 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.1624, allocations: 7.922 kB / 0.7211 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.1631, allocations: 175.6 kB / 0.7213 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1632, allocations: 43.92 kB / 0.7213 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.1633, allocations: 11.97 kB / 0.7213 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.1634, allocations: 15.94 kB / 0.7214 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.1634, allocations: 15.97 kB / 0.7214 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1635, allocations: 4 kB / 0.7214 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.1638, allocations: 215.7 kB / 0.7216 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.1639, allocations: 11.94 kB / 0.7216 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.1639, allocations: 15.92 kB / 0.7216 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.1642, allocations: 195.5 kB / 0.7218 GB, free: 11.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1642, allocations: 0 / 0.7218 GB, free: 11.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1642, allocations: 4 kB / 0.7218 GB, free: 11.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1642, allocations: 0 / 0.7218 GB, free: 11.97 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.0005333/0.1648, allocations: 357.3 kB / 0.7221 GB, free: 11.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1648, allocations: 12.02 kB / 0.7221 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.1649, allocations: 34.75 kB / 0.7222 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.1649, allocations: 0.9375 kB / 0.7222 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.165, allocations: 118.4 kB / 0.7223 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.165, allocations: 4.375 kB / 0.7223 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.165, allocations: 384 / 0.7223 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.1653, allocations: 111.5 kB / 0.7224 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1653, allocations: 4 kB / 0.7224 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1653, allocations: 4 kB / 0.7224 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1653, allocations: 0 / 0.7224 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1654, allocations: 77.66 kB / 0.7225 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.1658, allocations: 243.9 kB / 0.7227 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.166, allocations: 92.12 kB / 0.7228 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1661, allocations: 70.61 kB / 0.7229 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.1661, allocations: 0 / 0.7229 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.1661, allocations: 38.56 kB / 0.7229 GB, free: 10.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.845e-06/0.1661, allocations: 7.984 kB / 0.7229 GB, free: 10.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004918/0.1666, allocations: 242.7 kB / 0.7232 GB, free: 10.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.1667, allocations: 85.03 kB / 0.7232 GB, free: 10.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1668, allocations: 125.8 kB / 0.7234 GB, free: 10.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1668, allocations: 25.7 kB / 0.7234 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.1669, allocations: 92.12 kB / 0.7235 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1669, allocations: 11.89 kB / 0.7235 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.167, allocations: 21.72 kB / 0.7235 GB, free: 9.988 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1671, allocations: 322.8 kB / 0.7238 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.1673, allocations: 115.4 kB / 0.7239 GB, free: 9.539 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1674, allocations: 123.4 kB / 0.724 GB, free: 9.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.1677, allocations: 197.9 kB / 0.7242 GB, free: 9.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1677, allocations: 0 / 0.7242 GB, free: 9.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003505/0.168, allocations: 276.4 kB / 0.7245 GB, free: 8.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.1681, allocations: 65.73 kB / 0.7245 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1681, allocations: 0 / 0.7245 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1681, allocations: 4 kB / 0.7246 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-05/0.1681, allocations: 0 / 0.7246 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1682, allocations: 4 kB / 0.7246 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.1682, allocations: 23.88 kB / 0.7246 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1682, allocations: 0 / 0.7246 GB, free: 8.785 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.0001305/0.1683, allocations: 151.5 kB / 0.7247 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.1684, allocations: 4 kB / 0.7247 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.1684, allocations: 4 kB / 0.7247 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1684, allocations: 4 kB / 0.7247 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1684, allocations: 0 / 0.7247 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1684, allocations: 0 / 0.7247 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.1686, allocations: 140.7 kB / 0.7249 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1686, allocations: 4.062 kB / 0.7249 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.1686, allocations: 8 kB / 0.7249 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1686, allocations: 0 / 0.7249 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1686, allocations: 4 kB / 0.7249 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1686, allocations: 0 / 0.7249 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1686, allocations: 0 / 0.7249 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.169, allocations: 286.7 kB / 0.7252 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.169, allocations: 7.938 kB / 0.7252 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.169, allocations: 4 kB / 0.7252 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.1691, allocations: 7.984 kB / 0.7252 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/0.1692, allocations: 7.969 kB / 0.7252 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1692, allocations: 4 kB / 0.7252 GB, free: 8.066 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.603e-05/0.1693, allocations: 99.7 kB / 0.7253 GB, free: 7.969 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1693, allocations: 0 / 0.7253 GB, free: 7.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003143/0.1696, allocations: 59.88 kB / 0.7253 GB, free: 7.91 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.0007924/0.1704, allocations: 0.864 MB / 0.7262 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004564/0.1708, allocations: 323.8 kB / 0.7265 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1708, allocations: 4.031 kB / 0.7265 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.171, allocations: 133.1 kB / 0.7266 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.1712, allocations: 6.844 kB / 0.7266 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.1733, allocations: 2.033 MB / 0.7286 GB, free: 4.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.1734, allocations: 67.34 kB / 0.7287 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.877e-05/0.1734, allocations: 0 / 0.7287 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.1735, allocations: 23.86 kB / 0.7287 GB, free: 4.203 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1735, allocations: 3.938 kB / 0.7287 GB, free: 4.199 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.2024, allocations: 3.337 MB / 0.732 GB, free: 1.035 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.55, allocations: 7.625 kB / 0.732 GB, free: 1.035 MB / 0.545 GB " [Timeout remaining time 648] (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.340261062141508] Failed to read output from testmodel.py, exit status != 0: 11.669231930747628 11.695946927 11.526852705 Calling exit ...