Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 111.5 kB / 16.41 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 245.1 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.195/1.195, allocations: 173.4 MB / 470.6 MB, free: 6.672 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 73 kB / 0.6479 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1875, allocations: 89.53 MB / 0.7353 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00266/0.1902, allocations: 1.431 MB / 0.7367 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004658/0.1949, allocations: 2.896 MB / 0.7396 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.195, allocations: 0 / 0.7396 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.1951, allocations: 7.922 kB / 0.7396 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.1951, allocations: 19.8 kB / 0.7396 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.1992, allocations: 1.589 MB / 0.7411 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1994, allocations: 47.66 kB / 0.7412 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.1994, allocations: 4 kB / 0.7412 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.827e-05/0.1994, allocations: 11.94 kB / 0.7412 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.361e-05/0.1995, allocations: 15.92 kB / 0.7412 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1995, allocations: 0 / 0.7412 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.2019, allocations: 1.537 MB / 0.7427 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.2019, allocations: 11.94 kB / 0.7427 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.202, allocations: 19.88 kB / 0.7427 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.2035, allocations: 1.107 MB / 0.7438 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2035, allocations: 3.938 kB / 0.7438 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2035, allocations: 0 / 0.7438 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2035, allocations: 0 / 0.7438 GB, free: 11.44 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.0006543/0.2042, allocations: 0.5385 MB / 0.7444 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2042, allocations: 8.031 kB / 0.7444 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.882e-05/0.2043, allocations: 106 kB / 0.7445 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.2044, allocations: 88.17 kB / 0.7446 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.2046, allocations: 259.4 kB / 0.7448 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.2047, allocations: 154.5 kB / 0.7449 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.2047, allocations: 150.6 kB / 0.7451 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.172e-05/0.2048, allocations: 105 kB / 0.7452 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/0.2049, allocations: 75.28 kB / 0.7453 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.2049, allocations: 162.5 kB / 0.7454 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/0.205, allocations: 150.6 kB / 0.7456 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.2051, allocations: 158.5 kB / 0.7457 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.2054, allocations: 465.9 kB / 0.7462 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.109e-05/0.2055, allocations: 169.1 kB / 0.7463 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.2056, allocations: 80.14 kB / 0.7464 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.2056, allocations: 75.28 kB / 0.7465 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.2057, allocations: 105.8 kB / 0.7466 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2057, allocations: 4 kB / 0.7466 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.865e-05/0.2058, allocations: 33.59 kB / 0.7466 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.2059, allocations: 130.7 kB / 0.7467 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.206, allocations: 143.6 kB / 0.7469 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2061, allocations: 25.7 kB / 0.7469 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.2061, allocations: 88.14 kB / 0.747 GB, free: 8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.2061, allocations: 4 kB / 0.747 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.2062, allocations: 17.77 kB / 0.747 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2063, allocations: 322.8 kB / 0.7473 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.2064, allocations: 4 kB / 0.7473 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.2064, allocations: 12 kB / 0.7473 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.723e-05/0.2064, allocations: 8.859 kB / 0.7473 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2064, allocations: 4 kB / 0.7473 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001291/0.2066, allocations: 61.64 kB / 0.7474 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2066, allocations: 8 kB / 0.7474 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.2066, allocations: 0 / 0.7474 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2066, allocations: 4 kB / 0.7474 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.2066, allocations: 0 / 0.7474 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.2067, allocations: 0 / 0.7474 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.2067, allocations: 7.953 kB / 0.7474 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2067, allocations: 4 kB / 0.7474 GB, free: 7.527 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.0001161/0.2068, allocations: 189.1 kB / 0.7476 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.2069, allocations: 112.8 kB / 0.7477 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/0.207, allocations: 108.9 kB / 0.7478 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.563e-05/0.2071, allocations: 180.3 kB / 0.748 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.764e-05/0.2072, allocations: 184.2 kB / 0.7482 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.566e-05/0.2072, allocations: 184.2 kB / 0.7483 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.2075, allocations: 413.1 kB / 0.7487 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.924e-05/0.2076, allocations: 109 kB / 0.7488 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.2076, allocations: 101 kB / 0.7489 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.424e-05/0.2077, allocations: 180.2 kB / 0.7491 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/0.2078, allocations: 184.2 kB / 0.7493 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.74e-05/0.2079, allocations: 184.2 kB / 0.7494 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.503e-05/0.208, allocations: 176.3 kB / 0.7496 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.2082, allocations: 311.7 kB / 0.7499 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.2083, allocations: 194 kB / 0.7501 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.2084, allocations: 184.2 kB / 0.7503 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.2085, allocations: 101 kB / 0.7504 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.2085, allocations: 184.3 kB / 0.7505 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.2086, allocations: 112.8 kB / 0.7506 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.571e-05/0.2087, allocations: 96.05 kB / 0.7507 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2087, allocations: 4 kB / 0.7507 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008141/0.2095, allocations: 287 kB / 0.751 GB, free: 3.602 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: 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.001451/0.2109, allocations: 1.177 MB / 0.7522 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2111, allocations: 41.64 kB / 0.7522 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2111, allocations: 0 / 0.7522 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.2111, allocations: 368 / 0.7522 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.2116, allocations: 467.6 kB / 0.7527 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.2131, allocations: 1.607 MB / 0.7542 GB, free: 208 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.2135, allocations: 0.6845 MB / 0.7549 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.303e-05/0.2135, allocations: 0 / 0.7549 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.2135, allocations: 15.44 kB / 0.7549 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.2135, allocations: 0 / 0.7549 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.245, allocations: 7.085 MB / 0.7618 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.427, allocations: 0.875 kB / 0.7618 GB, free: 8.602 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.399990229168907] Failed to read output from testmodel.py, exit status != 0: 8.500029742950574 8.526498071 8.31847496 Calling exit ...