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.001402/0.001402, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001696/0.001696, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002585/0.002585, allocations: 289.3 kB / 313.5 MB, free: 2.82 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.222/1.222, allocations: 180.6 MB / 0.5377 GB, free: 13.06 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: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [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.002879/0.002879, allocations: 98.98 kB / 0.7408 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1834, allocations: 95.39 MB / 0.834 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002625/0.1861, allocations: 1.463 MB / 0.8354 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1875, allocations: 0.84 MB / 0.8362 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.1875, allocations: 4 kB / 0.8362 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.361e-05/0.1876, allocations: 0 / 0.8362 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.1876, allocations: 3.938 kB / 0.8362 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006935/0.1883, allocations: 181 kB / 0.8364 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1884, allocations: 47.91 kB / 0.8364 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.1885, allocations: 7.938 kB / 0.8365 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.1886, allocations: 23.92 kB / 0.8365 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.1886, allocations: 19.97 kB / 0.8365 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1886, allocations: 4 kB / 0.8365 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.189, allocations: 223.7 kB / 0.8367 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.1891, allocations: 19.91 kB / 0.8367 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.1891, allocations: 19.88 kB / 0.8368 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1894, allocations: 191.5 kB / 0.8369 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1894, allocations: 0 / 0.8369 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1894, allocations: 0 / 0.8369 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.1894, allocations: 3.938 kB / 0.8369 GB, free: 5.223 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.0005013/0.1899, allocations: 357.4 kB / 0.8373 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.19, allocations: 13.34 kB / 0.8373 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.19, allocations: 0.9375 kB / 0.8373 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1901, allocations: 122.4 kB / 0.8374 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1901, allocations: 4.375 kB / 0.8374 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1902, allocations: 384 / 0.8374 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1904, allocations: 85.97 kB / 0.8375 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1904, allocations: 0 / 0.8375 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1904, allocations: 7.938 kB / 0.8375 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1904, allocations: 4 kB / 0.8375 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1905, allocations: 47.95 kB / 0.8376 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.1909, allocations: 251.9 kB / 0.8378 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.191, allocations: 54.55 kB / 0.8378 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.1911, allocations: 44.92 kB / 0.8379 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1911, allocations: 4 kB / 0.8379 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1911, allocations: 34.55 kB / 0.8379 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1911, allocations: 0 / 0.8379 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004049/0.1916, allocations: 187.2 kB / 0.8381 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.1916, allocations: 81.11 kB / 0.8382 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1917, allocations: 121.8 kB / 0.8383 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1917, allocations: 29.7 kB / 0.8383 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.1918, allocations: 92.16 kB / 0.8384 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.1918, allocations: 11.91 kB / 0.8384 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.1919, allocations: 17.72 kB / 0.8384 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.192, allocations: 318.8 kB / 0.8387 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1921, allocations: 55.97 kB / 0.8388 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.251e-05/0.1922, allocations: 55.97 kB / 0.8389 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.1924, allocations: 201.8 kB / 0.839 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1924, allocations: 4 kB / 0.839 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002835/0.1927, allocations: 213 kB / 0.8393 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.1928, allocations: 67.39 kB / 0.8393 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1928, allocations: 0 / 0.8393 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1928, allocations: 4 kB / 0.8393 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.1929, allocations: 3.938 kB / 0.8393 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1929, allocations: 0 / 0.8393 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.1929, allocations: 15.89 kB / 0.8393 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1929, allocations: 3.984 kB / 0.8393 GB, free: 2.508 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.0001157/0.193, allocations: 151.5 kB / 0.8395 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1931, allocations: 4 kB / 0.8395 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.1931, allocations: 7.984 kB / 0.8395 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1931, allocations: 0 / 0.8395 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1931, allocations: 4 kB / 0.8395 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1931, allocations: 0 / 0.8395 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.1933, allocations: 148.6 kB / 0.8396 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1933, allocations: 0 / 0.8396 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.1933, allocations: 8.062 kB / 0.8397 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1933, allocations: 4 kB / 0.8397 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1933, allocations: 0 / 0.8397 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1933, allocations: 4 kB / 0.8397 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1933, allocations: 3.938 kB / 0.8397 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.1936, allocations: 257 kB / 0.8399 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.1936, allocations: 4 kB / 0.8399 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1936, allocations: 0 / 0.8399 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.1937, allocations: 4.031 kB / 0.8399 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.1938, allocations: 15.98 kB / 0.8399 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1938, allocations: 0 / 0.8399 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.66e-05/0.1939, allocations: 99.64 kB / 0.84 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1939, allocations: 0 / 0.84 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003196/0.1942, allocations: 59.89 kB / 0.8401 GB, free: 1.66 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.0002591/0.1944, allocations: 155 kB / 0.8402 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.1948, allocations: 238.7 kB / 0.8405 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1948, allocations: 0 / 0.8405 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.1949, allocations: 107.3 kB / 0.8406 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1951, allocations: 7.938 kB / 0.8406 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.1955, allocations: 199.3 kB / 0.8408 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1958, allocations: 0.6849 MB / 0.8414 GB, free: 184 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.1958, allocations: 11.44 kB / 0.8414 GB, free: 172 kB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.1959, allocations: 4.062 kB / 0.8414 GB, free: 168 kB / 0.5762 GB Notification: Performance of Templates: time 0.003471/0.1993, allocations: 1.496 MB / 0.8429 GB, free: 14.68 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.555715229129419] Failed to read output from testmodel.py, exit status != 0: 0.20691560884006321 0.221925163 0.029519678 Calling exit ...