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.001258/0.001258, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001516/0.001516, allocations: 206.7 kB / 22.24 MB, free: 5.258 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.347/1.347, allocations: 230.6 MB / 256 MB, free: 7.773 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.002478/0.002478, allocations: 291.5 kB / 312.7 MB, free: 2.582 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.177/1.177, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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.002841/0.002841, allocations: 99.16 kB / 0.7395 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.171, allocations: 95.39 MB / 0.8327 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002632/0.1737, allocations: 1.447 MB / 0.8341 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.175, allocations: 0.7817 MB / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.175, allocations: 0 / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.26e-05/0.1751, allocations: 3.938 kB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.058e-05/0.1751, allocations: 0 / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.1758, allocations: 185.7 kB / 0.835 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.1759, allocations: 43.97 kB / 0.8351 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/0.176, allocations: 3.938 kB / 0.8351 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.176, allocations: 23.92 kB / 0.8351 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.1761, allocations: 19.91 kB / 0.8351 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1761, allocations: 4 kB / 0.8351 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.1765, allocations: 215.7 kB / 0.8353 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.1765, allocations: 8 kB / 0.8353 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.1765, allocations: 19.86 kB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.1768, allocations: 191.5 kB / 0.8355 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/0.1768, allocations: 3.984 kB / 0.8355 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1768, allocations: 0 / 0.8355 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1768, allocations: 0 / 0.8355 GB, free: 5.375 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.0004885/0.1773, allocations: 353.4 kB / 0.8359 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1774, allocations: 12.75 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.1774, allocations: 34.75 kB / 0.8359 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.1774, allocations: 8.891 kB / 0.8359 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1776, allocations: 114.4 kB / 0.836 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1776, allocations: 4.375 kB / 0.836 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.1776, allocations: 4.375 kB / 0.836 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.1778, allocations: 107.5 kB / 0.8361 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1778, allocations: 3.938 kB / 0.8361 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1778, allocations: 0 / 0.8361 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.1778, allocations: 7.938 kB / 0.8362 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.178, allocations: 73.66 kB / 0.8362 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.1783, allocations: 240 kB / 0.8365 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1785, allocations: 92.25 kB / 0.8365 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1786, allocations: 70.61 kB / 0.8366 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1786, allocations: 0 / 0.8366 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.1786, allocations: 42.48 kB / 0.8366 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1787, allocations: 0 / 0.8366 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004361/0.1791, allocations: 242.7 kB / 0.8369 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.1792, allocations: 81.05 kB / 0.837 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1793, allocations: 129.8 kB / 0.8371 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.1793, allocations: 25.7 kB / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.1794, allocations: 84.14 kB / 0.8372 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.1794, allocations: 11.98 kB / 0.8372 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.1794, allocations: 21.7 kB / 0.8372 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1796, allocations: 322.8 kB / 0.8375 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.1797, allocations: 119.4 kB / 0.8376 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1799, allocations: 115.4 kB / 0.8377 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1801, allocations: 197.8 kB / 0.8379 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1801, allocations: 0 / 0.8379 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003447/0.1805, allocations: 284.4 kB / 0.8382 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/0.1805, allocations: 71.41 kB / 0.8383 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1805, allocations: 0 / 0.8383 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1805, allocations: 0 / 0.8383 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.1806, allocations: 7.984 kB / 0.8383 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1806, allocations: 0 / 0.8383 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1806, allocations: 7.938 kB / 0.8383 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1807, allocations: 0 / 0.8383 GB, free: 2.211 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.0001253/0.1808, allocations: 152.1 kB / 0.8384 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.1808, allocations: 7.953 kB / 0.8384 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.1808, allocations: 11.94 kB / 0.8385 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1808, allocations: 7.938 kB / 0.8385 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1808, allocations: 0 / 0.8385 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1808, allocations: 0 / 0.8385 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.181, allocations: 140.9 kB / 0.8386 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.181, allocations: 0 / 0.8386 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.181, allocations: 4 kB / 0.8386 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.181, allocations: 0 / 0.8386 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1811, allocations: 11.97 kB / 0.8386 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1811, allocations: 0 / 0.8386 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1811, allocations: 0 / 0.8386 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.1814, allocations: 282.8 kB / 0.8389 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.1814, allocations: 0 / 0.8389 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1814, allocations: 4 kB / 0.8389 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.1815, allocations: 7.984 kB / 0.8389 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.1816, allocations: 8 kB / 0.8389 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1816, allocations: 0 / 0.8389 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.65e-05/0.1816, allocations: 99.25 kB / 0.839 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1816, allocations: 0 / 0.839 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003018/0.1819, allocations: 63.81 kB / 0.8391 GB, free: 1.332 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.0007777/0.1827, allocations: 0.8601 MB / 0.8399 GB, free: 444 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000415/0.1831, allocations: 323.8 kB / 0.8402 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1831, allocations: 0 / 0.8402 GB, free: 76 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1833, allocations: 133.1 kB / 0.8403 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1835, allocations: 8.703 kB / 0.8403 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.1857, allocations: 2.048 MB / 0.8423 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.464e-05/0.1858, allocations: 75.33 kB / 0.8424 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.821e-05/0.1858, allocations: 0 / 0.8424 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.1858, allocations: 15.44 kB / 0.8424 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.1858, allocations: 0 / 0.8424 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.2149, allocations: 3.328 MB / 0.8457 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.78, allocations: 9.734 kB / 0.8457 GB, free: 10.45 MB / 0.5919 GB " [Timeout remaining time 649] (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.683150527998805] Failed to read output from testmodel.py, exit status != 0: 10.883427146356553 10.906875039 10.72599216 Calling exit ...