Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001314/0.001314, allocations: 104.3 kB / 19.7 MB, free: 1.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.001547/0.001547, allocations: 217.3 kB / 22.99 MB, free: 4.973 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9251/0.9251, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002264/0.002264, allocations: 75.23 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1625, allocations: 89.17 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003121/0.1657, allocations: 1.434 MB / 0.7296 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1671, allocations: 0.7754 MB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.1671, allocations: 4 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.816e-05/0.1672, allocations: 3.984 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.1672, allocations: 3.938 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.1679, allocations: 179.6 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.168, allocations: 39.92 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.401e-05/0.1681, allocations: 8.266 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.1681, allocations: 19.94 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.044e-05/0.1682, allocations: 19.95 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1682, allocations: 4 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.1685, allocations: 207.7 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.1686, allocations: 11.92 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.1686, allocations: 15.92 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1689, allocations: 199.5 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1689, allocations: 0 / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1689, allocations: 0 / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.1689, allocations: 0 / 0.731 GB, free: 14.07 MB / 0.5606 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.0004986/0.1694, allocations: 357.3 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1695, allocations: 8.031 kB / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.1695, allocations: 42.69 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.1695, allocations: 8.828 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1697, allocations: 114.5 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1697, allocations: 8.125 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1697, allocations: 4 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1699, allocations: 111.4 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1699, allocations: 3.984 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1699, allocations: 0 / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1699, allocations: 0 / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.17, allocations: 73.67 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1704, allocations: 251.9 kB / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.1706, allocations: 88.25 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1707, allocations: 74.61 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.1707, allocations: 4 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1707, allocations: 34.56 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1707, allocations: 3.938 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004234/0.1711, allocations: 242.7 kB / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1712, allocations: 77.11 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1713, allocations: 128.6 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1713, allocations: 29.7 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.1714, allocations: 88.09 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1714, allocations: 7.953 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1715, allocations: 25.73 kB / 0.7327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1716, allocations: 318.8 kB / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.1717, allocations: 123.4 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1719, allocations: 119.4 kB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1721, allocations: 193.9 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1721, allocations: 0 / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003501/0.1725, allocations: 280.4 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.1725, allocations: 69.58 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1726, allocations: 4 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1726, allocations: 4 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.1726, allocations: 0 / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1726, allocations: 4 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.1727, allocations: 11.89 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.1727, allocations: 7.922 kB / 0.7338 GB, free: 10.88 MB / 0.5606 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.0001261/0.1728, allocations: 143.5 kB / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.1729, allocations: 4 kB / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.1729, allocations: 11.98 kB / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1729, allocations: 0 / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1729, allocations: 4 kB / 0.734 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1729, allocations: 0 / 0.734 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.1731, allocations: 140.6 kB / 0.7341 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1731, allocations: 3.938 kB / 0.7341 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.1731, allocations: 7.984 kB / 0.7341 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1731, allocations: 0 / 0.7341 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1731, allocations: 4 kB / 0.7341 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1731, allocations: 3.938 kB / 0.7341 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1731, allocations: 3.938 kB / 0.7341 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.1734, allocations: 278.8 kB / 0.7344 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.1734, allocations: 11.98 kB / 0.7344 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1735, allocations: 8.062 kB / 0.7344 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.1735, allocations: 4 kB / 0.7344 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1736, allocations: 11.98 kB / 0.7344 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1737, allocations: 0 / 0.7344 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.351e-05/0.1737, allocations: 99.2 kB / 0.7345 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1737, allocations: 0 / 0.7345 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003145/0.174, allocations: 55.94 kB / 0.7346 GB, free: 10 MB / 0.5606 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.0007697/0.1748, allocations: 0.8642 MB / 0.7354 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.1752, allocations: 323.8 kB / 0.7357 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1752, allocations: 0 / 0.7357 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.1754, allocations: 125.1 kB / 0.7358 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1756, allocations: 8 kB / 0.7358 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1777, allocations: 2.042 MB / 0.7378 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.279e-05/0.1778, allocations: 83.33 kB / 0.7379 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.1778, allocations: 0 / 0.7379 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.1779, allocations: 11.44 kB / 0.7379 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of SimCode: time 6.12e-07/0.1779, allocations: 0 / 0.7379 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.2079, allocations: 3.304 MB / 0.7412 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.08, allocations: 9.922 kB / 0.7412 GB, free: 3.156 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.742088302969933] Failed to read output from testmodel.py, exit status != 0: 11.190969518385828 11.219269193 11.045203297 Calling exit ...