Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001418/0.001418, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001611/0.001611, allocations: 210.8 kB / 22.24 MB, free: 5.121 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8562/0.8562, allocations: 134 MB / 446.4 MB, free: 9.996 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001985/0.001985, allocations: 69.3 kB / 0.6185 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1616, allocations: 85.92 MB / 0.7024 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002656/0.1643, allocations: 1.438 MB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1657, allocations: 0.7761 MB / 0.7046 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.1657, allocations: 0 / 0.7046 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.306e-05/0.1658, allocations: 7.922 kB / 0.7046 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.1658, allocations: 8 kB / 0.7046 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.1665, allocations: 183.5 kB / 0.7048 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1666, allocations: 35.98 kB / 0.7048 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.858e-05/0.1667, allocations: 7.984 kB / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.1667, allocations: 11.94 kB / 0.7048 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.1668, allocations: 27.89 kB / 0.7048 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1668, allocations: 4 kB / 0.7048 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.1671, allocations: 211.7 kB / 0.705 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.1672, allocations: 8 kB / 0.705 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.1672, allocations: 27.84 kB / 0.7051 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.1675, allocations: 191.5 kB / 0.7053 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1675, allocations: 4 kB / 0.7053 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1675, allocations: 0 / 0.7053 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1675, allocations: 0 / 0.7053 GB, free: 14.14 MB / 0.5294 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.0004482/0.1679, allocations: 353.4 kB / 0.7056 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.168, allocations: 8.031 kB / 0.7056 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.168, allocations: 34.75 kB / 0.7056 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.168, allocations: 16.83 kB / 0.7057 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1681, allocations: 129.1 kB / 0.7058 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1682, allocations: 4.125 kB / 0.7058 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1682, allocations: 4 kB / 0.7058 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1684, allocations: 107.4 kB / 0.7059 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1684, allocations: 0 / 0.7059 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.1684, allocations: 3.938 kB / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.1684, allocations: 0 / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1685, allocations: 73.67 kB / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1689, allocations: 240 kB / 0.7062 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.169, allocations: 88.25 kB / 0.7063 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1691, allocations: 74.61 kB / 0.7063 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1691, allocations: 4 kB / 0.7063 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1692, allocations: 34.5 kB / 0.7064 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1692, allocations: 0 / 0.7064 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003977/0.1696, allocations: 242.7 kB / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1696, allocations: 81.11 kB / 0.7067 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1697, allocations: 121.8 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1698, allocations: 33.73 kB / 0.7068 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.1698, allocations: 84.14 kB / 0.7069 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1698, allocations: 11.89 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1699, allocations: 25.7 kB / 0.707 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.17, allocations: 318.8 kB / 0.7073 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1701, allocations: 115.4 kB / 0.7074 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1703, allocations: 119.4 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.1705, allocations: 201.8 kB / 0.7077 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1705, allocations: 0 / 0.7077 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003351/0.1708, allocations: 284.4 kB / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.1709, allocations: 63.39 kB / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1709, allocations: 0 / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1709, allocations: 0 / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.171, allocations: 4 kB / 0.708 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.171, allocations: 3.938 kB / 0.708 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.171, allocations: 8 kB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.171, allocations: 15.91 kB / 0.708 GB, free: 10.96 MB / 0.5294 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.000111/0.1711, allocations: 143.5 kB / 0.7082 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.1712, allocations: 11.95 kB / 0.7082 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.1712, allocations: 11.92 kB / 0.7082 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1712, allocations: 0 / 0.7082 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1712, allocations: 4.062 kB / 0.7082 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1712, allocations: 240 / 0.7082 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1714, allocations: 140.7 kB / 0.7083 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1714, allocations: 3.938 kB / 0.7083 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.1714, allocations: 7.984 kB / 0.7083 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1714, allocations: 3.984 kB / 0.7083 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1714, allocations: 0 / 0.7083 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1714, allocations: 0 / 0.7083 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1714, allocations: 4 kB / 0.7084 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.1717, allocations: 282.8 kB / 0.7086 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.1717, allocations: 4 kB / 0.7086 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1717, allocations: 0 / 0.7086 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.1718, allocations: 4 kB / 0.7086 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.1719, allocations: 7.984 kB / 0.7086 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.1719, allocations: 8 kB / 0.7086 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.172, allocations: 95.2 kB / 0.7087 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.172, allocations: 3.938 kB / 0.7087 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000305/0.1723, allocations: 59.88 kB / 0.7088 GB, free: 10.09 MB / 0.5294 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.0007542/0.173, allocations: 0.8602 MB / 0.7096 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.1734, allocations: 315.8 kB / 0.7099 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1734, allocations: 4 kB / 0.7099 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1736, allocations: 129 kB / 0.7101 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.1738, allocations: 7.938 kB / 0.7101 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1758, allocations: 2.055 MB / 0.7121 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.24e-05/0.1759, allocations: 75.19 kB / 0.7122 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.1759, allocations: 0 / 0.7122 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.176, allocations: 19.44 kB / 0.7122 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.176, allocations: 0 / 0.7122 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.2039, allocations: 3.301 MB / 0.7154 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.14, allocations: 13.3 kB / 0.7154 GB, free: 3.234 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.793883740436286] Failed to read output from testmodel.py, exit status != 0: 11.238305359147489 11.25464437 11.084076965 Calling exit ...