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.001572/0.001572, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.0016/0.0016, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.797 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: 279.7 kB / 313.5 MB, free: 2.594 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.204/1.204, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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.002945/0.002945, allocations: 102.4 kB / 0.7407 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1838, allocations: 95.38 MB / 0.8339 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00302/0.1868, allocations: 1.445 MB / 0.8353 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1882, allocations: 0.7816 MB / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.1882, allocations: 0 / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.156e-05/0.1883, allocations: 4 kB / 0.8361 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.1884, allocations: 3.938 kB / 0.8361 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006716/0.189, allocations: 183.5 kB / 0.8362 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.1891, allocations: 43.91 kB / 0.8363 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/0.1892, allocations: 11.88 kB / 0.8363 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.1893, allocations: 19.98 kB / 0.8363 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.1893, allocations: 15.92 kB / 0.8363 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1893, allocations: 4 kB / 0.8363 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.1897, allocations: 215.7 kB / 0.8365 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.1897, allocations: 11.92 kB / 0.8365 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.1898, allocations: 15.88 kB / 0.8366 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.1901, allocations: 195.5 kB / 0.8367 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1901, allocations: 0 / 0.8367 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1901, allocations: 0 / 0.8367 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1901, allocations: 0 / 0.8367 GB, free: 4.828 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.0005011/0.1906, allocations: 356 kB / 0.8371 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1906, allocations: 9.344 kB / 0.8371 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.1907, allocations: 12.89 kB / 0.8371 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1908, allocations: 130.3 kB / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1908, allocations: 384 / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1908, allocations: 4.375 kB / 0.8372 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.191, allocations: 111.7 kB / 0.8373 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.191, allocations: 0 / 0.8373 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.191, allocations: 4 kB / 0.8373 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.191, allocations: 0 / 0.8373 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.1912, allocations: 73.66 kB / 0.8374 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.1915, allocations: 216.6 kB / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1917, allocations: 92.12 kB / 0.8377 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1918, allocations: 70.61 kB / 0.8378 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1918, allocations: 4 kB / 0.8378 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1918, allocations: 38.56 kB / 0.8378 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1918, allocations: 0 / 0.8378 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004345/0.1923, allocations: 246.8 kB / 0.8381 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.1923, allocations: 81.11 kB / 0.8381 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1924, allocations: 121.8 kB / 0.8382 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1925, allocations: 25.7 kB / 0.8383 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.1925, allocations: 88.14 kB / 0.8384 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.1925, allocations: 3.953 kB / 0.8384 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1926, allocations: 25.7 kB / 0.8384 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1927, allocations: 322.9 kB / 0.8387 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1929, allocations: 115.4 kB / 0.8388 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.193, allocations: 123.3 kB / 0.8389 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.1932, allocations: 193.9 kB / 0.8391 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1932, allocations: 0 / 0.8391 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003476/0.1936, allocations: 292.2 kB / 0.8394 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.1936, allocations: 63.39 kB / 0.8394 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1936, allocations: 0 / 0.8394 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1937, allocations: 0 / 0.8394 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.1937, allocations: 8 kB / 0.8395 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1937, allocations: 3.938 kB / 0.8395 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.1938, allocations: 11.92 kB / 0.8395 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1938, allocations: 7.938 kB / 0.8395 GB, free: 1.723 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.0001172/0.1939, allocations: 147.5 kB / 0.8396 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.1939, allocations: 3.953 kB / 0.8396 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.1939, allocations: 15.98 kB / 0.8396 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1939, allocations: 0 / 0.8396 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1939, allocations: 64 / 0.8396 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.194, allocations: 8 kB / 0.8396 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.1941, allocations: 109.3 kB / 0.8397 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.1941, allocations: 3.938 kB / 0.8398 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.1941, allocations: 7.984 kB / 0.8398 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1941, allocations: 0 / 0.8398 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1941, allocations: 4 kB / 0.8398 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1941, allocations: 0 / 0.8398 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1941, allocations: 0 / 0.8398 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.1945, allocations: 278.8 kB / 0.84 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.1945, allocations: 7.922 kB / 0.84 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1945, allocations: 12.03 kB / 0.84 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.1946, allocations: 4 kB / 0.8401 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.1946, allocations: 7.984 kB / 0.8401 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1946, allocations: 0 / 0.8401 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.423e-05/0.1947, allocations: 95.27 kB / 0.8401 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1947, allocations: 0 / 0.8401 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003031/0.195, allocations: 59.88 kB / 0.8402 GB, free: 0.8906 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.0002488/0.1952, allocations: 151.1 kB / 0.8403 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003954/0.1956, allocations: 327.8 kB / 0.8407 GB, free: 380 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1956, allocations: 3.938 kB / 0.8407 GB, free: 376 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1958, allocations: 125.1 kB / 0.8408 GB, free: 232 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.196, allocations: 22.2 kB / 0.8408 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.1964, allocations: 233 kB / 0.841 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.491e-05/0.1965, allocations: 71.33 kB / 0.8411 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.1965, allocations: 11.44 kB / 0.8411 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.1965, allocations: 0 / 0.8411 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.003452/0.2, allocations: 1.517 MB / 0.8426 GB, free: 14.33 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.606968227308244] Failed to read output from testmodel.py, exit status != 0: 0.20757141103968024 0.22264529300000002 0.029528844000000002 Calling exit ...