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.00123/0.00123, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001323/0.001323, allocations: 214.6 kB / 23.04 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.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 8 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.8141/0.8141, allocations: 134 MB / 447.2 MB, free: 10.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",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.001861/0.001861, allocations: 61.44 kB / 0.6193 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1626, allocations: 85.91 MB / 0.7032 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002583/0.1651, allocations: 1.456 MB / 0.7046 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1665, allocations: 0.85 MB / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.1666, allocations: 4 kB / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.198e-05/0.1666, allocations: 3.938 kB / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.1667, allocations: 3.938 kB / 0.7055 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/0.1673, allocations: 183.1 kB / 0.7057 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1674, allocations: 39.97 kB / 0.7057 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.998e-05/0.1675, allocations: 11.94 kB / 0.7057 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.1675, allocations: 19.92 kB / 0.7057 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.1676, allocations: 19.92 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1676, allocations: 4 kB / 0.7058 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.1679, allocations: 231.7 kB / 0.706 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.168, allocations: 4 kB / 0.706 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.168, allocations: 23.86 kB / 0.706 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.1683, allocations: 191.5 kB / 0.7062 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1683, allocations: 0 / 0.7062 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1683, allocations: 0 / 0.7062 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1683, allocations: 3.938 kB / 0.7062 GB, free: 14.35 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.0004899/0.1688, allocations: 357.4 kB / 0.7065 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1688, allocations: 12.03 kB / 0.7065 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.411e-05/0.1688, allocations: 192 / 0.7065 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/0.1689, allocations: 34.75 kB / 0.7066 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.1689, allocations: 8.891 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.169, allocations: 129.7 kB / 0.7067 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.169, allocations: 3.938 kB / 0.7067 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.169, allocations: 4 kB / 0.7067 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1692, allocations: 77.67 kB / 0.7068 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1692, allocations: 0 / 0.7068 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1692, allocations: 0 / 0.7068 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1692, allocations: 0 / 0.7068 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1694, allocations: 51.95 kB / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.1697, allocations: 247.9 kB / 0.7071 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1699, allocations: 58.56 kB / 0.7071 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.1699, allocations: 44.91 kB / 0.7072 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.1699, allocations: 0 / 0.7072 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.17, allocations: 30.56 kB / 0.7072 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.17, allocations: 0 / 0.7072 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000402/0.1704, allocations: 195.3 kB / 0.7074 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.1704, allocations: 85.14 kB / 0.7075 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1705, allocations: 125.8 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1706, allocations: 25.7 kB / 0.7076 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.1706, allocations: 88.14 kB / 0.7077 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1706, allocations: 15.81 kB / 0.7077 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.1707, allocations: 21.72 kB / 0.7077 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1708, allocations: 314.8 kB / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1709, allocations: 59.95 kB / 0.7081 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.254e-05/0.171, allocations: 63.97 kB / 0.7081 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.1712, allocations: 185.9 kB / 0.7083 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1712, allocations: 12.05 kB / 0.7083 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002901/0.1715, allocations: 225 kB / 0.7086 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.1716, allocations: 63.41 kB / 0.7086 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1716, allocations: 0 / 0.7086 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1716, allocations: 0 / 0.7086 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.568e-05/0.1716, allocations: 7.984 kB / 0.7086 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1716, allocations: 3.984 kB / 0.7086 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.1717, allocations: 11.94 kB / 0.7086 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1717, allocations: 4 kB / 0.7086 GB, free: 11.57 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.0001136/0.1718, allocations: 148.2 kB / 0.7088 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.1718, allocations: 3.953 kB / 0.7088 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.1719, allocations: 8 kB / 0.7088 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1719, allocations: 0 / 0.7088 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1719, allocations: 0 / 0.7088 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1719, allocations: 7.922 kB / 0.7088 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.172, allocations: 140.7 kB / 0.7089 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.172, allocations: 4 kB / 0.7089 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.1721, allocations: 3.984 kB / 0.7089 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1721, allocations: 0 / 0.7089 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1721, allocations: 4 kB / 0.7089 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1721, allocations: 0 / 0.7089 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1721, allocations: 0 / 0.7089 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.1724, allocations: 261 kB / 0.7092 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.1724, allocations: 0 / 0.7092 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1724, allocations: 7.984 kB / 0.7092 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.1725, allocations: 0 / 0.7092 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1726, allocations: 11.98 kB / 0.7092 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.1726, allocations: 7.938 kB / 0.7092 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.951e-05/0.1726, allocations: 95.2 kB / 0.7093 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1726, allocations: 0 / 0.7093 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003099/0.1729, allocations: 63.88 kB / 0.7094 GB, free: 10.74 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.0007166/0.1737, allocations: 0.8311 MB / 0.7102 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.174, allocations: 234.7 kB / 0.7104 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.174, allocations: 0 / 0.7104 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.1741, allocations: 99.41 kB / 0.7105 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.1743, allocations: 12.69 kB / 0.7105 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1762, allocations: 1.764 MB / 0.7122 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.1765, allocations: 0.6922 MB / 0.7129 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.1765, allocations: 0 / 0.7129 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.1766, allocations: 15.42 kB / 0.7129 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1766, allocations: 3.938 kB / 0.7129 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.199, allocations: 2.904 MB / 0.7158 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.54, allocations: 10.53 kB / 0.7158 GB, free: 4.176 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.950138601008803] Failed to read output from testmodel.py, exit status != 0: 10.709204063052312 10.740003346 10.566577676 Calling exit ...