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.001444/0.001444, allocations: 114.3 kB / 18.94 MB, free: 2.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.001517/0.001517, allocations: 219.2 kB / 22.26 MB, free: 5.082 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 8.023 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.8703/0.8703, allocations: 134 MB / 446.4 MB, free: 10.25 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.001947/0.001947, allocations: 64.14 kB / 0.6186 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 85.91 MB / 0.7025 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002675/0.1639, allocations: 1.448 MB / 0.7039 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1653, allocations: 0.8539 MB / 0.7047 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.1653, allocations: 0 / 0.7047 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.874e-05/0.1653, allocations: 3.938 kB / 0.7047 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.1654, allocations: 7.938 kB / 0.7047 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.166, allocations: 184 kB / 0.7049 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1661, allocations: 39.91 kB / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.1662, allocations: 11.98 kB / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.1662, allocations: 19.92 kB / 0.705 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.1663, allocations: 15.92 kB / 0.705 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1663, allocations: 4 kB / 0.705 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.1667, allocations: 235.7 kB / 0.7052 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.1668, allocations: 4 kB / 0.7052 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.1668, allocations: 23.86 kB / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1671, allocations: 195.5 kB / 0.7054 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1671, allocations: 0 / 0.7054 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1671, allocations: 0 / 0.7054 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.1671, allocations: 0 / 0.7054 GB, free: 14.36 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.0005488/0.1677, allocations: 357.3 kB / 0.7058 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1677, allocations: 8.031 kB / 0.7058 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.1677, allocations: 30.75 kB / 0.7058 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1678, allocations: 8.891 kB / 0.7058 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1679, allocations: 126.4 kB / 0.7059 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1679, allocations: 12.12 kB / 0.7059 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.1679, allocations: 4 kB / 0.7059 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1681, allocations: 69.67 kB / 0.706 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1681, allocations: 0 / 0.706 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1681, allocations: 4 kB / 0.706 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1681, allocations: 0 / 0.706 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.1682, allocations: 47.95 kB / 0.7061 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1686, allocations: 255.9 kB / 0.7063 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1688, allocations: 50.56 kB / 0.7063 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.551e-05/0.1688, allocations: 44.91 kB / 0.7064 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.1689, allocations: 7.984 kB / 0.7064 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1689, allocations: 38.5 kB / 0.7064 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1689, allocations: 0 / 0.7064 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003985/0.1693, allocations: 191.2 kB / 0.7066 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.1694, allocations: 81.11 kB / 0.7067 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1695, allocations: 124.9 kB / 0.7068 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.603e-05/0.1696, allocations: 25.7 kB / 0.7068 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.1696, allocations: 92.12 kB / 0.7069 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.1696, allocations: 11.88 kB / 0.7069 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.1697, allocations: 21.72 kB / 0.707 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1698, allocations: 326.7 kB / 0.7073 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1699, allocations: 63.98 kB / 0.7073 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.657e-05/0.17, allocations: 55.97 kB / 0.7074 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.1703, allocations: 189.9 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1703, allocations: 0 / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002979/0.1706, allocations: 224.9 kB / 0.7078 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.1707, allocations: 59.41 kB / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1707, allocations: 0 / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1707, allocations: 0 / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.767e-05/0.1707, allocations: 11.98 kB / 0.7078 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1707, allocations: 0 / 0.7078 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.1708, allocations: 4 kB / 0.7078 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1708, allocations: 11.94 kB / 0.7079 GB, free: 11.6 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.0001168/0.1709, allocations: 147.5 kB / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.1709, allocations: 7.953 kB / 0.708 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.171, allocations: 4 kB / 0.708 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.171, allocations: 0 / 0.708 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.171, allocations: 4 kB / 0.708 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.171, allocations: 3.984 kB / 0.708 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.1712, allocations: 144.7 kB / 0.7082 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1712, allocations: 4.062 kB / 0.7082 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.1712, allocations: 7.984 kB / 0.7082 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1712, allocations: 0 / 0.7082 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1712, allocations: 0 / 0.7082 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1712, allocations: 0 / 0.7082 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1712, allocations: 4 kB / 0.7082 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.1715, allocations: 257 kB / 0.7084 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-06/0.1715, allocations: 4 kB / 0.7084 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1716, allocations: 3.984 kB / 0.7084 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.1716, allocations: 4 kB / 0.7084 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.1717, allocations: 4 kB / 0.7084 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1717, allocations: 3.984 kB / 0.7084 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.781e-05/0.1718, allocations: 103.2 kB / 0.7085 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1718, allocations: 7.875 kB / 0.7085 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002922/0.1721, allocations: 59.91 kB / 0.7086 GB, free: 10.75 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.0007311/0.1728, allocations: 0.8233 MB / 0.7094 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.1732, allocations: 234.7 kB / 0.7096 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1732, allocations: 4.031 kB / 0.7096 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1733, allocations: 103.4 kB / 0.7097 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.1735, allocations: 0 / 0.7097 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1755, allocations: 1.764 MB / 0.7115 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.1759, allocations: 0.6926 MB / 0.7121 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.1759, allocations: 0 / 0.7121 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1759, allocations: 15.42 kB / 0.7121 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1759, allocations: 7.938 kB / 0.7122 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.2051, allocations: 2.884 MB / 0.715 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.65, allocations: 5.625 kB / 0.715 GB, free: 4.215 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.303849130999879] Failed to read output from testmodel.py, exit status != 0: 10.748728490005306 10.776781953 10.604734373 Calling exit ...