Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001413/0.001413, allocations: 111.5 kB / 20.48 MB, free: 1.473 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.001472/0.001472, allocations: 212.3 kB / 23.79 MB, free: 4.68 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.495/1.495, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.9737/0.9737, allocations: 150 MB / 464 MB, free: 10.46 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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.00197/0.00197, allocations: 63.84 kB / 0.6421 GB, free: 10.28 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1714, allocations: 89.17 MB / 0.7292 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002564/0.174, allocations: 1.453 MB / 0.7306 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004579/0.1785, allocations: 2.988 MB / 0.7335 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.1786, allocations: 0 / 0.7335 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.1786, allocations: 15.92 kB / 0.7335 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.1787, allocations: 15.8 kB / 0.7336 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.1829, allocations: 1.72 MB / 0.7352 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.183, allocations: 43.67 kB / 0.7353 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.183, allocations: 4 kB / 0.7353 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.1831, allocations: 19.92 kB / 0.7353 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3e-05/0.1831, allocations: 11.94 kB / 0.7353 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.1831, allocations: 0 / 0.7353 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.1859, allocations: 1.767 MB / 0.737 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1859, allocations: 7.938 kB / 0.737 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.1859, allocations: 15.88 kB / 0.7371 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.1876, allocations: 1.157 MB / 0.7382 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1876, allocations: 0 / 0.7382 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1876, allocations: 0 / 0.7382 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.1876, allocations: 0 / 0.7382 GB, free: 7.953 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006306/0.1882, allocations: 472 kB / 0.7386 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1883, allocations: 8.031 kB / 0.7387 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.179e-05/0.1883, allocations: 83.47 kB / 0.7387 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.208e-05/0.1884, allocations: 106 kB / 0.7388 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.1884, allocations: 80.17 kB / 0.7389 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.1886, allocations: 205.4 kB / 0.7391 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.936e-05/0.1887, allocations: 154.5 kB / 0.7393 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.1888, allocations: 150.6 kB / 0.7394 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.318e-05/0.1888, allocations: 109 kB / 0.7395 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.1889, allocations: 75.28 kB / 0.7396 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.1889, allocations: 154.5 kB / 0.7397 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/0.189, allocations: 150.6 kB / 0.7399 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.1891, allocations: 154.6 kB / 0.74 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.1894, allocations: 440.9 kB / 0.7404 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.1894, allocations: 173.1 kB / 0.7406 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.1895, allocations: 80.14 kB / 0.7407 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.1895, allocations: 75.28 kB / 0.7407 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.1896, allocations: 113.8 kB / 0.7409 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.1896, allocations: 0 / 0.7409 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.594e-05/0.1897, allocations: 37.59 kB / 0.7409 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.1897, allocations: 130.6 kB / 0.741 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.1899, allocations: 139.5 kB / 0.7411 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1899, allocations: 25.7 kB / 0.7412 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.19, allocations: 92.12 kB / 0.7413 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.19, allocations: 0 / 0.7413 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.19, allocations: 25.7 kB / 0.7413 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1901, allocations: 318.8 kB / 0.7416 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.1902, allocations: 4 kB / 0.7416 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.027e-05/0.1902, allocations: 15.98 kB / 0.7416 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.1902, allocations: 8.859 kB / 0.7416 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1902, allocations: 0 / 0.7416 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001189/0.1903, allocations: 53.59 kB / 0.7417 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1903, allocations: 4 kB / 0.7417 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.1904, allocations: 4 kB / 0.7417 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1904, allocations: 4.062 kB / 0.7417 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.087e-05/0.1904, allocations: 7.984 kB / 0.7417 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1904, allocations: 0 / 0.7417 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.1904, allocations: 3.953 kB / 0.7417 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1904, allocations: 0 / 0.7417 GB, free: 4.164 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001032/0.1905, allocations: 197 kB / 0.7419 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.1906, allocations: 101 kB / 0.742 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.1906, allocations: 116.7 kB / 0.7421 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.385e-05/0.1907, allocations: 180.2 kB / 0.7423 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.625e-05/0.1908, allocations: 184.2 kB / 0.7424 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.648e-05/0.1909, allocations: 180.3 kB / 0.7426 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.1911, allocations: 380.2 kB / 0.743 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.863e-05/0.1912, allocations: 112.9 kB / 0.7431 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.1912, allocations: 113 kB / 0.7432 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-05/0.1913, allocations: 184.2 kB / 0.7434 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/0.1914, allocations: 176.3 kB / 0.7435 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.031e-05/0.1915, allocations: 180.3 kB / 0.7437 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.609e-05/0.1916, allocations: 180.2 kB / 0.7439 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.1917, allocations: 319.6 kB / 0.7442 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.1918, allocations: 109 kB / 0.7443 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-05/0.1919, allocations: 180.3 kB / 0.7444 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.192, allocations: 108.9 kB / 0.7446 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.192, allocations: 188.3 kB / 0.7447 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.1921, allocations: 108.9 kB / 0.7448 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.761e-05/0.1922, allocations: 97.45 kB / 0.7449 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1922, allocations: 0 / 0.7449 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008381/0.193, allocations: 299 kB / 0.7452 GB, free: 356 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001507/0.1945, allocations: 1.192 MB / 0.7464 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.1946, allocations: 45.62 kB / 0.7464 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1946, allocations: 0 / 0.7464 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.1946, allocations: 4 kB / 0.7464 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.1951, allocations: 459.8 kB / 0.7469 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.1968, allocations: 1.619 MB / 0.7484 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1971, allocations: 0.6807 MB / 0.7491 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.419e-05/0.1972, allocations: 4.031 kB / 0.7491 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.1972, allocations: 11.44 kB / 0.7491 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/0.1972, allocations: 0 / 0.7491 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.2262, allocations: 7.377 MB / 0.7563 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.75, allocations: 7.031 kB / 0.7563 GB, free: 5.02 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.986390032980125] Failed to read output from testmodel.py, exit status != 0: 11.919879016990308 12.233797576 12.043411455 Calling exit ...