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.00131/0.00131, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001489/0.001489, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8088/0.8088, allocations: 134 MB / 447.2 MB, free: 9.957 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.001888/0.001888, allocations: 63.22 kB / 0.6193 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1568, allocations: 85.91 MB / 0.7032 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002862/0.1597, allocations: 1.442 MB / 0.7046 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1611, allocations: 0.778 MB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.1611, allocations: 0 / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.479e-05/0.1612, allocations: 7.922 kB / 0.7053 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.1613, allocations: 3.984 kB / 0.7053 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.162, allocations: 187.3 kB / 0.7055 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1622, allocations: 39.98 kB / 0.7056 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.732e-05/0.1622, allocations: 3.984 kB / 0.7056 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.291e-05/0.1623, allocations: 19.92 kB / 0.7056 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.1623, allocations: 23.97 kB / 0.7056 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1624, allocations: 4 kB / 0.7056 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.1628, allocations: 219.7 kB / 0.7058 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.1628, allocations: 15.92 kB / 0.7058 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.1629, allocations: 15.92 kB / 0.7058 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.1633, allocations: 199.4 kB / 0.706 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1633, allocations: 4 kB / 0.706 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1633, allocations: 3.938 kB / 0.706 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1633, allocations: 0 / 0.706 GB, free: 14.11 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.0005914/0.1639, allocations: 353.4 kB / 0.7064 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1639, allocations: 12.03 kB / 0.7064 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.555e-05/0.1639, allocations: 4.172 kB / 0.7064 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.164, allocations: 30.75 kB / 0.7064 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.164, allocations: 8.891 kB / 0.7064 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1642, allocations: 126.4 kB / 0.7065 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1642, allocations: 3.938 kB / 0.7066 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1642, allocations: 4 kB / 0.7066 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.1644, allocations: 111.3 kB / 0.7067 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1644, allocations: 0 / 0.7067 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1644, allocations: 0 / 0.7067 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1644, allocations: 0 / 0.7067 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1646, allocations: 77.67 kB / 0.7067 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.165, allocations: 236 kB / 0.707 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1651, allocations: 96.19 kB / 0.7071 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1653, allocations: 74.61 kB / 0.7071 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1653, allocations: 0 / 0.7071 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1653, allocations: 34.5 kB / 0.7072 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1653, allocations: 0 / 0.7072 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000432/0.1657, allocations: 242.8 kB / 0.7074 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1658, allocations: 85.11 kB / 0.7075 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1659, allocations: 124.8 kB / 0.7076 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1659, allocations: 29.7 kB / 0.7076 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.166, allocations: 88.17 kB / 0.7077 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.166, allocations: 15.83 kB / 0.7077 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.166, allocations: 21.7 kB / 0.7077 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1661, allocations: 318.8 kB / 0.708 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1663, allocations: 119.4 kB / 0.7082 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1664, allocations: 115.4 kB / 0.7083 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1666, allocations: 197.9 kB / 0.7085 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1666, allocations: 0 / 0.7085 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003269/0.167, allocations: 288.5 kB / 0.7087 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.167, allocations: 67.39 kB / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.167, allocations: 0 / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.167, allocations: 0 / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.1671, allocations: 4 kB / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1671, allocations: 3.938 kB / 0.7088 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.1671, allocations: 7.938 kB / 0.7088 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.1672, allocations: 7.984 kB / 0.7088 GB, free: 10.93 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.0001075/0.1673, allocations: 143.5 kB / 0.709 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.1673, allocations: 11.89 kB / 0.709 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.1673, allocations: 11.98 kB / 0.709 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1673, allocations: 0 / 0.709 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1673, allocations: 0 / 0.709 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1673, allocations: 3.938 kB / 0.709 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1675, allocations: 144.8 kB / 0.7091 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1675, allocations: 0 / 0.7091 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.1675, allocations: 7.984 kB / 0.7091 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1675, allocations: 0 / 0.7091 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1675, allocations: 3.938 kB / 0.7091 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1675, allocations: 0 / 0.7091 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1675, allocations: 0 / 0.7091 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.1678, allocations: 294.7 kB / 0.7094 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.1678, allocations: 0 / 0.7094 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1679, allocations: 0 / 0.7094 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.1679, allocations: 8 kB / 0.7094 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.168, allocations: 7.984 kB / 0.7094 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.168, allocations: 7.938 kB / 0.7094 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.1681, allocations: 91.27 kB / 0.7095 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1681, allocations: 4 kB / 0.7095 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003144/0.1684, allocations: 59.88 kB / 0.7096 GB, free: 10.05 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.0007411/0.1692, allocations: 0.8602 MB / 0.7104 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.1695, allocations: 323.8 kB / 0.7107 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1695, allocations: 0 / 0.7107 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1697, allocations: 129.1 kB / 0.7109 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.1699, allocations: 3.938 kB / 0.7109 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.1719, allocations: 2.053 MB / 0.7129 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.977e-05/0.172, allocations: 75.19 kB / 0.7129 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.172, allocations: 0 / 0.7129 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.172, allocations: 11.44 kB / 0.7129 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.172, allocations: 0 / 0.7129 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.1943, allocations: 2.956 MB / 0.7158 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.83, allocations: 10.47 kB / 0.7158 GB, free: 3.555 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: 14.201275813975371] Failed to read output from testmodel.py, exit status != 0: 10.987721677985974 11.006834745 10.840014471 Calling exit ...