Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001322/0.001322, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001393/0.001393, allocations: 214.4 kB / 23.78 MB, free: 4.523 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9271/0.9271, allocations: 150 MB / 464 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001951/0.001951, allocations: 67.28 kB / 0.642 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1824, allocations: 89.17 MB / 0.7291 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002743/0.1851, allocations: 1.428 MB / 0.7305 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1866, allocations: 0.7831 MB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.1866, allocations: 0 / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.179e-05/0.1867, allocations: 0 / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.1867, allocations: 7.938 kB / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007658/0.1875, allocations: 179.9 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1876, allocations: 47.89 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.1877, allocations: 7.938 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.061e-05/0.1878, allocations: 19.92 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.1879, allocations: 19.92 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1879, allocations: 4 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.1883, allocations: 223.7 kB / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.1883, allocations: 8 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.1884, allocations: 15.88 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.1887, allocations: 195.5 kB / 0.7319 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1887, allocations: 4 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1887, allocations: 0 / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.1887, allocations: 0 / 0.7319 GB, free: 13.84 MB / 0.5606 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.0005847/0.1893, allocations: 357.4 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1894, allocations: 8.031 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.1894, allocations: 4.188 kB / 0.7323 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.1894, allocations: 38.69 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.1894, allocations: 4.891 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1896, allocations: 110.5 kB / 0.7324 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1896, allocations: 11.94 kB / 0.7324 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.1896, allocations: 0 / 0.7324 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.1898, allocations: 111.3 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1898, allocations: 4 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1899, allocations: 0 / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1899, allocations: 3.984 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.19, allocations: 81.66 kB / 0.7326 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.1904, allocations: 247.9 kB / 0.7329 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.1906, allocations: 92.25 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1907, allocations: 74.61 kB / 0.733 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1907, allocations: 0 / 0.733 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1908, allocations: 34.56 kB / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1908, allocations: 0 / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004538/0.1912, allocations: 242.7 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.1913, allocations: 89.03 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1914, allocations: 121.8 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1914, allocations: 25.7 kB / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.1915, allocations: 96.08 kB / 0.7336 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.1915, allocations: 7.984 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.1915, allocations: 21.72 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1917, allocations: 318.8 kB / 0.7339 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1918, allocations: 119.4 kB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1919, allocations: 119.4 kB / 0.7342 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.1922, allocations: 197.9 kB / 0.7343 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1922, allocations: 0 / 0.7343 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003524/0.1925, allocations: 276.4 kB / 0.7346 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/0.1926, allocations: 65.58 kB / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1926, allocations: 4 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1926, allocations: 4 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.1927, allocations: 0 / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1927, allocations: 7.984 kB / 0.7347 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.1928, allocations: 15.83 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.1928, allocations: 3.984 kB / 0.7347 GB, free: 10.65 MB / 0.5606 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.0001245/0.1929, allocations: 151.5 kB / 0.7349 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1929, allocations: 7.938 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.193, allocations: 8 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.193, allocations: 8 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.193, allocations: 0 / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.193, allocations: 3.938 kB / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.1931, allocations: 136.7 kB / 0.735 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1931, allocations: 0 / 0.735 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.1932, allocations: 8.062 kB / 0.735 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1932, allocations: 0 / 0.735 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1932, allocations: 4 kB / 0.735 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1932, allocations: 0 / 0.735 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1932, allocations: 3.984 kB / 0.735 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.1935, allocations: 282.8 kB / 0.7353 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.1935, allocations: 11.95 kB / 0.7353 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1936, allocations: 4 kB / 0.7353 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.1936, allocations: 7.984 kB / 0.7353 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.1938, allocations: 4 kB / 0.7353 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1938, allocations: 3.938 kB / 0.7353 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.479e-05/0.1938, allocations: 102.3 kB / 0.7354 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1938, allocations: 0 / 0.7354 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003384/0.1942, allocations: 55.92 kB / 0.7355 GB, free: 9.773 MB / 0.5606 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.0008095/0.195, allocations: 0.8642 MB / 0.7363 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003937/0.1954, allocations: 323.8 kB / 0.7366 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1954, allocations: 0 / 0.7366 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1955, allocations: 133.1 kB / 0.7368 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.1958, allocations: 7.938 kB / 0.7368 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.1979, allocations: 2.04 MB / 0.7388 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.529e-05/0.198, allocations: 71.28 kB / 0.7388 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.828e-05/0.198, allocations: 0 / 0.7388 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1981, allocations: 19.42 kB / 0.7388 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.1981, allocations: 0 / 0.7388 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.2213, allocations: 2.95 MB / 0.7417 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.35, allocations: 6.031 kB / 0.7417 GB, free: 3.293 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.063535773078911] Failed to read output from testmodel.py, exit status != 0: 11.508597921929322 11.532168495 11.339004685 Calling exit ...