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.001528/0.001528, allocations: 109.9 kB / 16.45 MB, free: 6.508 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.0016/0.0016, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.383/1.383, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.8265/0.8265, allocations: 133.9 MB / 442.8 MB, free: 11.39 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.002427/0.002427, allocations: 70.38 kB / 0.6134 GB, free: 8.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1906, allocations: 85.84 MB / 0.6973 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002792/0.1934, allocations: 1.453 MB / 0.6987 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1948, allocations: 0.8345 MB / 0.6995 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.1949, allocations: 4 kB / 0.6995 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.899e-05/0.1949, allocations: 0 / 0.6995 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.195, allocations: 7.938 kB / 0.6995 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.1956, allocations: 175.6 kB / 0.6997 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.1957, allocations: 39.92 kB / 0.6997 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.1958, allocations: 7.984 kB / 0.6997 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.011e-05/0.1959, allocations: 15.94 kB / 0.6997 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.1959, allocations: 27.89 kB / 0.6998 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1959, allocations: 8 kB / 0.6998 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.1963, allocations: 203.7 kB / 0.7 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.1963, allocations: 7.984 kB / 0.7 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.1964, allocations: 23.88 kB / 0.7 GB, free: 196 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1967, allocations: 187.5 kB / 0.7002 GB, free: 8 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1967, allocations: 0 / 0.7002 GB, free: 8 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1967, allocations: 3.938 kB / 0.7002 GB, free: 4 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1967, allocations: 3.938 kB / 0.7002 GB, free: 0 / 0.5137 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.0006101/0.1973, allocations: 430.5 kB / 0.7006 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1973, allocations: 13.11 kB / 0.7006 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.1974, allocations: 38.73 kB / 0.7006 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.1974, allocations: 4.891 kB / 0.7007 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1975, allocations: 177 kB / 0.7008 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.1976, allocations: 12.12 kB / 0.7008 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.1976, allocations: 0 / 0.7008 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1978, allocations: 73.66 kB / 0.7009 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1978, allocations: 4 kB / 0.7009 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1978, allocations: 0 / 0.7009 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1978, allocations: 3.938 kB / 0.7009 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1979, allocations: 51.91 kB / 0.701 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.1983, allocations: 276.9 kB / 0.7012 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1984, allocations: 54.55 kB / 0.7013 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1985, allocations: 48.89 kB / 0.7013 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.1986, allocations: 4 kB / 0.7013 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1986, allocations: 34.56 kB / 0.7014 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1986, allocations: 0 / 0.7014 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004202/0.199, allocations: 191.2 kB / 0.7015 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.1991, allocations: 81.11 kB / 0.7016 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1992, allocations: 124.1 kB / 0.7017 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1992, allocations: 25.7 kB / 0.7018 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.1993, allocations: 88.14 kB / 0.7018 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1993, allocations: 11.92 kB / 0.7019 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.1993, allocations: 29.64 kB / 0.7019 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1995, allocations: 322.8 kB / 0.7022 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1996, allocations: 55.97 kB / 0.7022 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.1997, allocations: 55.95 kB / 0.7023 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.1999, allocations: 197.8 kB / 0.7025 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1999, allocations: 0 / 0.7025 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003052/0.2002, allocations: 225 kB / 0.7027 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.2003, allocations: 63.39 kB / 0.7028 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2003, allocations: 0 / 0.7028 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2003, allocations: 0 / 0.7028 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.837e-05/0.2004, allocations: 4 kB / 0.7028 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.2004, allocations: 3.984 kB / 0.7028 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.2004, allocations: 11.98 kB / 0.7028 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.2004, allocations: 3.938 kB / 0.7028 GB, free: 13.04 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.0001271/0.2006, allocations: 151.5 kB / 0.7029 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.2006, allocations: 7.953 kB / 0.7029 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.2006, allocations: 7.906 kB / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2006, allocations: 0 / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2006, allocations: 0 / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2006, allocations: 0 / 0.7029 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2008, allocations: 177.6 kB / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2008, allocations: 0 / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.2009, allocations: 7.938 kB / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2009, allocations: 0 / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.2009, allocations: 3.984 kB / 0.7031 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2009, allocations: 4 kB / 0.7031 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2009, allocations: 0 / 0.7031 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.2012, allocations: 249.1 kB / 0.7034 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.2012, allocations: 81.05 kB / 0.7034 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2012, allocations: 4 kB / 0.7035 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.2013, allocations: 11.98 kB / 0.7035 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.2014, allocations: 0 / 0.7035 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2014, allocations: 8.031 kB / 0.7035 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.641e-05/0.2015, allocations: 103.1 kB / 0.7036 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2015, allocations: 0 / 0.7036 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003137/0.2018, allocations: 63.86 kB / 0.7036 GB, free: 12.06 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.000763/0.2026, allocations: 0.8311 MB / 0.7044 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.2029, allocations: 226.7 kB / 0.7047 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2029, allocations: 0 / 0.7047 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.2031, allocations: 107.4 kB / 0.7048 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.2033, allocations: 8.688 kB / 0.7048 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.2052, allocations: 1.763 MB / 0.7065 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.2056, allocations: 0.6961 MB / 0.7072 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.075e-05/0.2056, allocations: 4 kB / 0.7072 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.2056, allocations: 11.44 kB / 0.7072 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.2056, allocations: 0 / 0.7072 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.2301, allocations: 2.768 MB / 0.7099 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/7.945, allocations: 11.19 kB / 0.7099 GB, free: 5.633 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.481440350995399] Failed to read output from testmodel.py, exit status != 0: 8.010336998995626 8.023012477 7.823747729 Calling exit ...