Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001223/0.001223, allocations: 114.6 kB / 18.94 MB, free: 2.789 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.001347/0.001347, allocations: 222.9 kB / 22.26 MB, free: 5.211 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.331/1.331, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002373/0.002373, allocations: 283.3 kB / 312.7 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.116/1.116, allocations: 180.6 MB / 0.5369 GB, free: 13.05 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002682/0.002682, allocations: 104.4 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.157, allocations: 95.39 MB / 0.8328 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002479/0.1594, allocations: 1.455 MB / 0.8342 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1608, allocations: 0.8362 MB / 0.835 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.1608, allocations: 4 kB / 0.835 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.572e-05/0.1609, allocations: 3.938 kB / 0.835 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.946e-05/0.1609, allocations: 0 / 0.835 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.1615, allocations: 183.8 kB / 0.8352 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.1616, allocations: 43.95 kB / 0.8352 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.121e-05/0.1617, allocations: 7.938 kB / 0.8352 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.96e-05/0.1618, allocations: 23.92 kB / 0.8352 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.1618, allocations: 15.92 kB / 0.8353 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1618, allocations: 4 kB / 0.8353 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.1622, allocations: 231.7 kB / 0.8355 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.1623, allocations: 15.94 kB / 0.8355 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1623, allocations: 19.86 kB / 0.8355 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.1626, allocations: 195.5 kB / 0.8357 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1626, allocations: 0 / 0.8357 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1626, allocations: 3.938 kB / 0.8357 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.1626, allocations: 0 / 0.8357 GB, free: 5.598 MB / 0.5762 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.0004711/0.1631, allocations: 353.4 kB / 0.836 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1631, allocations: 8.75 kB / 0.8361 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.1631, allocations: 34.75 kB / 0.8361 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.1632, allocations: 0.9375 kB / 0.8361 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1633, allocations: 126.4 kB / 0.8362 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1633, allocations: 8.312 kB / 0.8362 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1633, allocations: 384 / 0.8362 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1635, allocations: 81.8 kB / 0.8363 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1635, allocations: 0 / 0.8363 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.1635, allocations: 0 / 0.8363 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1635, allocations: 0 / 0.8363 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1636, allocations: 51.95 kB / 0.8363 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.164, allocations: 255.9 kB / 0.8366 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1641, allocations: 54.5 kB / 0.8366 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.1642, allocations: 48.91 kB / 0.8367 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.1642, allocations: 0 / 0.8367 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1642, allocations: 30.56 kB / 0.8367 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 2.705e-06/0.1642, allocations: 4 kB / 0.8367 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003785/0.1646, allocations: 191.3 kB / 0.8369 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.1647, allocations: 81.05 kB / 0.837 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1648, allocations: 121.8 kB / 0.8371 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1648, allocations: 29.7 kB / 0.8371 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.1648, allocations: 84.14 kB / 0.8372 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1649, allocations: 15.89 kB / 0.8372 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.1649, allocations: 21.72 kB / 0.8372 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.165, allocations: 322.8 kB / 0.8376 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1651, allocations: 55.95 kB / 0.8376 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.95e-05/0.1652, allocations: 55.97 kB / 0.8377 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.1655, allocations: 193.9 kB / 0.8378 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1655, allocations: 0 / 0.8378 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002861/0.1658, allocations: 217.2 kB / 0.838 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.1658, allocations: 63.34 kB / 0.8381 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1658, allocations: 8 kB / 0.8381 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1658, allocations: 4.031 kB / 0.8381 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.1659, allocations: 7.922 kB / 0.8381 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1659, allocations: 4 kB / 0.8381 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.1659, allocations: 11.89 kB / 0.8381 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.166, allocations: 0 / 0.8381 GB, free: 2.844 MB / 0.5762 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.0001202/0.1661, allocations: 152.1 kB / 0.8383 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1661, allocations: 4 kB / 0.8383 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.1661, allocations: 15.94 kB / 0.8383 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1661, allocations: 4 kB / 0.8383 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1661, allocations: 0 / 0.8383 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1661, allocations: 3.984 kB / 0.8383 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1663, allocations: 140.7 kB / 0.8384 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1663, allocations: 0 / 0.8384 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.1663, allocations: 7.984 kB / 0.8385 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1663, allocations: 64 / 0.8385 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1663, allocations: 8 kB / 0.8385 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1663, allocations: 0 / 0.8385 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1663, allocations: 0 / 0.8385 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.1666, allocations: 253 kB / 0.8387 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.1666, allocations: 4 kB / 0.8387 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1667, allocations: 3.984 kB / 0.8387 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.1667, allocations: 8 kB / 0.8387 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.1668, allocations: 4 kB / 0.8387 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1668, allocations: 3.984 kB / 0.8387 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.145e-05/0.1669, allocations: 103.7 kB / 0.8388 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1669, allocations: 0 / 0.8388 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002912/0.1672, allocations: 63.83 kB / 0.8389 GB, free: 1.992 MB / 0.5762 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.00072/0.1679, allocations: 0.8233 MB / 0.8397 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003514/0.1682, allocations: 242.7 kB / 0.8399 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1682, allocations: 0 / 0.8399 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1684, allocations: 103.3 kB / 0.84 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.1686, allocations: 4 kB / 0.84 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.1706, allocations: 1.772 MB / 0.8418 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.1709, allocations: 0.6807 MB / 0.8424 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.1709, allocations: 4 kB / 0.8424 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.1709, allocations: 19.42 kB / 0.8424 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.1709, allocations: 0 / 0.8424 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.2007, allocations: 2.89 MB / 0.8453 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.86/10.06, allocations: 7.984 kB / 0.8453 GB, free: 11.45 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.86768205699991] Failed to read output from testmodel.py, exit status != 0: 10.15651100499963 10.171436255 10.005987449 Calling exit ...