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.001318/0.001318, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001507/0.001507, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.372/1.372, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.002537/0.002537, allocations: 264.2 kB / 312.7 MB, free: 2.617 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.194/1.194, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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.0029/0.0029, allocations: 101.8 kB / 0.7395 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1654, allocations: 95.39 MB / 0.8327 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002655/0.1681, allocations: 1.449 MB / 0.8341 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1695, allocations: 0.7739 MB / 0.8348 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.1695, allocations: 0 / 0.8348 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.876e-05/0.1696, allocations: 4 kB / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.1696, allocations: 3.938 kB / 0.8348 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006454/0.1703, allocations: 186.7 kB / 0.835 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1704, allocations: 43.91 kB / 0.8351 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.1704, allocations: 7.938 kB / 0.8351 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.1705, allocations: 19.92 kB / 0.8351 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.1705, allocations: 15.92 kB / 0.8351 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1706, allocations: 4 kB / 0.8351 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.1709, allocations: 219.7 kB / 0.8353 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.171, allocations: 8 kB / 0.8353 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.171, allocations: 19.88 kB / 0.8353 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1713, allocations: 191.5 kB / 0.8355 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1713, allocations: 0 / 0.8355 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1713, allocations: 3.938 kB / 0.8355 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1713, allocations: 0 / 0.8355 GB, free: 5.387 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.0004893/0.1718, allocations: 353.4 kB / 0.8359 GB, free: 5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1718, allocations: 8.75 kB / 0.8359 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.1719, allocations: 38.69 kB / 0.8359 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.1719, allocations: 4.891 kB / 0.8359 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.172, allocations: 122.4 kB / 0.836 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.172, allocations: 8.375 kB / 0.836 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.172, allocations: 4.375 kB / 0.836 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.1723, allocations: 111.4 kB / 0.8361 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1723, allocations: 0 / 0.8361 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1723, allocations: 0 / 0.8361 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1723, allocations: 0 / 0.8361 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1724, allocations: 81.66 kB / 0.8362 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.1728, allocations: 243.9 kB / 0.8365 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.173, allocations: 80.25 kB / 0.8365 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1731, allocations: 78.61 kB / 0.8366 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1731, allocations: 3.984 kB / 0.8366 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1731, allocations: 38.56 kB / 0.8367 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1731, allocations: 0 / 0.8367 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004306/0.1736, allocations: 250.6 kB / 0.8369 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.1736, allocations: 77.11 kB / 0.837 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1737, allocations: 121.8 kB / 0.8371 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1738, allocations: 25.7 kB / 0.8371 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.1738, allocations: 88.12 kB / 0.8372 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.1738, allocations: 7.984 kB / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.1739, allocations: 25.72 kB / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.174, allocations: 322.8 kB / 0.8375 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1741, allocations: 115.4 kB / 0.8376 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1743, allocations: 119.4 kB / 0.8378 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.1745, allocations: 197.9 kB / 0.8379 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1745, allocations: 0 / 0.8379 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003372/0.1749, allocations: 280.3 kB / 0.8382 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/0.1749, allocations: 63.39 kB / 0.8383 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1749, allocations: 4 kB / 0.8383 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1749, allocations: 0 / 0.8383 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.175, allocations: 7.984 kB / 0.8383 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.175, allocations: 0 / 0.8383 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.175, allocations: 11.94 kB / 0.8383 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1751, allocations: 0 / 0.8383 GB, free: 2.219 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.0001216/0.1752, allocations: 152.1 kB / 0.8384 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.1752, allocations: 11.89 kB / 0.8384 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.1752, allocations: 11.94 kB / 0.8385 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1752, allocations: 0 / 0.8385 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1752, allocations: 8 kB / 0.8385 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1752, allocations: 0 / 0.8385 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1754, allocations: 140.7 kB / 0.8386 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1754, allocations: 0 / 0.8386 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.1754, allocations: 4 kB / 0.8386 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1754, allocations: 0 / 0.8386 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1754, allocations: 0 / 0.8386 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1754, allocations: 4 kB / 0.8386 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1755, allocations: 7.922 kB / 0.8386 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.1758, allocations: 282.8 kB / 0.8389 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.1758, allocations: 4.031 kB / 0.8389 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.1758, allocations: 4 kB / 0.8389 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.1759, allocations: 7.984 kB / 0.8389 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.176, allocations: 0 / 0.8389 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.176, allocations: 4 kB / 0.8389 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.758e-05/0.1761, allocations: 99.7 kB / 0.839 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1761, allocations: 0 / 0.839 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003005/0.1764, allocations: 59.86 kB / 0.8391 GB, free: 1.34 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.0007735/0.1771, allocations: 0.864 MB / 0.8399 GB, free: 448 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.1775, allocations: 319.8 kB / 0.8402 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1775, allocations: 0 / 0.8402 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1777, allocations: 133.1 kB / 0.8403 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1779, allocations: 4.328 kB / 0.8403 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.18, allocations: 2.052 MB / 0.8423 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.823e-05/0.1801, allocations: 71.78 kB / 0.8424 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.1801, allocations: 0 / 0.8424 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.1801, allocations: 15.42 kB / 0.8424 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1801, allocations: 0 / 0.8424 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.2089, allocations: 3.328 MB / 0.8457 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.83, allocations: 12.02 kB / 0.8457 GB, free: 10.46 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.898387943860143] Failed to read output from testmodel.py, exit status != 0: 10.932832395657897 10.954275726 10.779233501 Calling exit ...