Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001504/0.001504, allocations: 105 kB / 16.45 MB, free: 6.449 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.001632/0.001632, allocations: 212 kB / 19.43 MB, free: 3.637 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.364/1.364, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 297.2 kB / 309.1 MB, free: 3.996 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.172/1.172, allocations: 180.9 MB / 0.5333 GB, free: 13.83 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002694/0.002694, allocations: 97.78 kB / 0.7343 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1604, allocations: 95.35 MB / 0.8274 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002644/0.1631, allocations: 1.439 MB / 0.8288 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1645, allocations: 0.8401 MB / 0.8296 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.1645, allocations: 3.938 kB / 0.8296 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.826e-05/0.1646, allocations: 3.984 kB / 0.8296 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.944e-05/0.1647, allocations: 7.938 kB / 0.8296 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.1653, allocations: 163.9 kB / 0.8298 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.1654, allocations: 51.91 kB / 0.8298 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.457e-05/0.1655, allocations: 7.922 kB / 0.8298 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.1655, allocations: 23.92 kB / 0.8298 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.358e-05/0.1656, allocations: 15.98 kB / 0.8299 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1656, allocations: 4 kB / 0.8299 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.1659, allocations: 211.7 kB / 0.8301 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.365e-05/0.166, allocations: 11.94 kB / 0.8301 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.166, allocations: 15.88 kB / 0.8301 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.1663, allocations: 195.5 kB / 0.8303 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1663, allocations: 3.984 kB / 0.8303 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1663, allocations: 4 kB / 0.8303 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.1663, allocations: 0 / 0.8303 GB, free: 6.867 MB / 0.5762 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.0005515/0.1669, allocations: 430.5 kB / 0.8307 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1669, allocations: 8.625 kB / 0.8307 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.167, allocations: 38.69 kB / 0.8307 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.167, allocations: 4.938 kB / 0.8307 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1671, allocations: 180.2 kB / 0.8309 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1671, allocations: 4.359 kB / 0.8309 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.1672, allocations: 4.375 kB / 0.8309 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.1673, allocations: 77.8 kB / 0.831 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1673, allocations: 0 / 0.831 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1674, allocations: 0 / 0.831 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1674, allocations: 3.938 kB / 0.831 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1675, allocations: 51.95 kB / 0.8311 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1679, allocations: 276.8 kB / 0.8313 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.168, allocations: 58.56 kB / 0.8314 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.1681, allocations: 48.89 kB / 0.8314 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.1681, allocations: 0 / 0.8314 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1682, allocations: 34.56 kB / 0.8315 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1682, allocations: 0 / 0.8315 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004079/0.1686, allocations: 191.2 kB / 0.8316 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.1686, allocations: 77.11 kB / 0.8317 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1687, allocations: 129.9 kB / 0.8318 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1688, allocations: 25.7 kB / 0.8319 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.1688, allocations: 88.14 kB / 0.8319 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.1688, allocations: 11.89 kB / 0.832 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.1689, allocations: 21.72 kB / 0.832 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.169, allocations: 322.8 kB / 0.8323 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1691, allocations: 55.97 kB / 0.8323 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.1692, allocations: 63.97 kB / 0.8324 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.1695, allocations: 197.9 kB / 0.8326 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1695, allocations: 0 / 0.8326 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002899/0.1697, allocations: 217 kB / 0.8328 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.1698, allocations: 59.41 kB / 0.8328 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1698, allocations: 0 / 0.8328 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1698, allocations: 0 / 0.8328 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.1699, allocations: 11.92 kB / 0.8329 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1699, allocations: 0 / 0.8329 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.1699, allocations: 15.89 kB / 0.8329 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.17, allocations: 8 kB / 0.8329 GB, free: 3.906 MB / 0.5762 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.0001163/0.1701, allocations: 147.5 kB / 0.833 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.1701, allocations: 4 kB / 0.833 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.1701, allocations: 7.906 kB / 0.833 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1701, allocations: 0 / 0.833 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.1701, allocations: 8.047 kB / 0.833 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1701, allocations: 0 / 0.833 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.1703, allocations: 169.6 kB / 0.8332 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1703, allocations: 7.984 kB / 0.8332 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.1703, allocations: 4 kB / 0.8332 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1703, allocations: 0 / 0.8332 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1704, allocations: 4 kB / 0.8332 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1704, allocations: 0 / 0.8332 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1704, allocations: 0 / 0.8332 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.1707, allocations: 253 kB / 0.8335 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.1707, allocations: 97.02 kB / 0.8336 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1707, allocations: 0 / 0.8336 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.1708, allocations: 4 kB / 0.8336 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.1709, allocations: 7.984 kB / 0.8336 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.1709, allocations: 0 / 0.8336 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.364e-05/0.171, allocations: 99.27 kB / 0.8337 GB, free: 3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.171, allocations: 0 / 0.8337 GB, free: 3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003302/0.1713, allocations: 55.88 kB / 0.8337 GB, free: 2.945 MB / 0.5762 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.0007556/0.1721, allocations: 0.835 MB / 0.8345 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.1724, allocations: 230.7 kB / 0.8347 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1724, allocations: 0 / 0.8347 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1725, allocations: 107.3 kB / 0.8348 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1728, allocations: 8.094 kB / 0.8349 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1747, allocations: 1.758 MB / 0.8366 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.175, allocations: 0.6845 MB / 0.8372 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.175, allocations: 4 kB / 0.8372 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.175, allocations: 15.42 kB / 0.8373 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of SimCode: time 6.72e-07/0.175, allocations: 0 / 0.8373 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.2008, allocations: 2.814 MB / 0.84 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.783, allocations: 4.594 kB / 0.84 GB, free: 12.5 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.75325769605115] Failed to read output from testmodel.py, exit status != 0: 7.858767739031464 7.874438545 7.705312666 Calling exit ...