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.001543/0.001543, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001852/0.001852, allocations: 220.3 kB / 22.26 MB, free: 5.125 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 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002415/0.002415, allocations: 292.7 kB / 312.7 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.174/1.174, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002712/0.002712, allocations: 103.3 kB / 0.7396 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1613, allocations: 95.39 MB / 0.8328 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002483/0.1638, allocations: 1.451 MB / 0.8342 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1651, allocations: 0.8439 MB / 0.835 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.1652, allocations: 0 / 0.835 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.198e-05/0.1652, allocations: 7.922 kB / 0.835 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.528e-05/0.1653, allocations: 7.938 kB / 0.835 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.1659, allocations: 175.9 kB / 0.8352 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.166, allocations: 43.91 kB / 0.8352 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.1661, allocations: 15.92 kB / 0.8352 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.1661, allocations: 15.94 kB / 0.8352 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.1662, allocations: 15.97 kB / 0.8353 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1662, allocations: 4 kB / 0.8353 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.1666, allocations: 231.7 kB / 0.8355 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.1666, allocations: 11.94 kB / 0.8355 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.1667, allocations: 19.88 kB / 0.8355 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.167, allocations: 191.5 kB / 0.8357 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.167, allocations: 0 / 0.8357 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.167, allocations: 0 / 0.8357 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.167, allocations: 4 kB / 0.8357 GB, free: 5.566 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.0004787/0.1674, allocations: 363.7 kB / 0.8361 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1675, allocations: 8.75 kB / 0.8361 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.1675, allocations: 30.75 kB / 0.8361 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.1675, allocations: 4.938 kB / 0.8361 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1677, allocations: 126.3 kB / 0.8362 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1677, allocations: 8.375 kB / 0.8362 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.1677, allocations: 384 / 0.8362 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1679, allocations: 81.78 kB / 0.8363 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1679, allocations: 0 / 0.8363 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1679, allocations: 4 kB / 0.8363 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1679, allocations: 0 / 0.8363 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.168, allocations: 47.95 kB / 0.8363 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.1684, allocations: 247.9 kB / 0.8366 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.1685, allocations: 58.55 kB / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.1686, allocations: 44.91 kB / 0.8367 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1686, allocations: 4 kB / 0.8367 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.1686, allocations: 34.56 kB / 0.8367 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1686, allocations: 0 / 0.8367 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003936/0.169, allocations: 187.2 kB / 0.8369 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.1691, allocations: 81.11 kB / 0.837 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1692, allocations: 125.9 kB / 0.8371 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1692, allocations: 25.7 kB / 0.8371 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.1692, allocations: 88.14 kB / 0.8372 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.1692, allocations: 7.906 kB / 0.8372 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.1693, allocations: 25.7 kB / 0.8372 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1694, allocations: 322.8 kB / 0.8375 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1695, allocations: 59.95 kB / 0.8376 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.1696, allocations: 51.97 kB / 0.8377 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.1698, allocations: 202 kB / 0.8378 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1698, allocations: 0 / 0.8378 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002867/0.1701, allocations: 217 kB / 0.8381 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.1702, allocations: 63.39 kB / 0.8381 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1702, allocations: 0 / 0.8381 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1702, allocations: 0 / 0.8381 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.1703, allocations: 7.984 kB / 0.8381 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1703, allocations: 3.938 kB / 0.8381 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.1703, allocations: 19.89 kB / 0.8381 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1703, allocations: 4 kB / 0.8381 GB, free: 2.805 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.0001101/0.1704, allocations: 148.1 kB / 0.8383 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.1705, allocations: 4 kB / 0.8383 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.1705, allocations: 8 kB / 0.8383 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1705, allocations: 240 / 0.8383 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1705, allocations: 3.938 kB / 0.8383 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1705, allocations: 7.984 kB / 0.8383 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1707, allocations: 144.7 kB / 0.8384 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1707, allocations: 4 kB / 0.8385 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.1707, allocations: 7.984 kB / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1707, allocations: 0 / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1707, allocations: 0 / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1707, allocations: 0 / 0.8385 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1707, allocations: 4 kB / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.171, allocations: 253 kB / 0.8387 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.171, allocations: 8.031 kB / 0.8387 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.171, allocations: 0 / 0.8387 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.1711, allocations: 7.984 kB / 0.8387 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1712, allocations: 4 kB / 0.8387 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1712, allocations: 0 / 0.8387 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.1713, allocations: 103.6 kB / 0.8388 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1713, allocations: 0 / 0.8388 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003114/0.1716, allocations: 63.81 kB / 0.8389 GB, free: 1.961 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.0007104/0.1723, allocations: 0.8311 MB / 0.8397 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.1726, allocations: 226.7 kB / 0.8399 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1726, allocations: 0 / 0.8399 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1727, allocations: 107.4 kB / 0.84 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1729, allocations: 12.03 kB / 0.84 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.1748, allocations: 1.771 MB / 0.8418 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.1751, allocations: 0.6846 MB / 0.8424 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.1751, allocations: 0 / 0.8424 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.1752, allocations: 15.44 kB / 0.8424 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.1752, allocations: 3.938 kB / 0.8424 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.2041, allocations: 2.901 MB / 0.8453 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.36, allocations: 3.281 kB / 0.8453 GB, free: 11.41 MB / 0.5919 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.26539364317432] Failed to read output from testmodel.py, exit status != 0: 10.462008895818144 10.480100166 10.309797669 Calling exit ...