Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001937/0.001937, allocations: 102.3 kB / 19.7 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.001898/0.001898, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.002617/0.002617, allocations: 277.1 kB / 313.5 MB, free: 2.914 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.23/1.23, allocations: 180.6 MB / 0.5377 GB, free: 13.11 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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [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.002825/0.002825, allocations: 100.9 kB / 0.7409 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1863, allocations: 95.38 MB / 0.834 GB, free: 8.129 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002572/0.1889, allocations: 1.477 MB / 0.8355 GB, free: 6.637 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.1934, allocations: 2.99 MB / 0.8384 GB, free: 3.629 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.1934, allocations: 0 / 0.8384 GB, free: 3.629 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.1934, allocations: 7.922 kB / 0.8384 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.1935, allocations: 15.86 kB / 0.8384 GB, free: 3.605 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.1973, allocations: 1.726 MB / 0.8401 GB, free: 1.902 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.1973, allocations: 47.67 kB / 0.8401 GB, free: 1.855 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.1974, allocations: 3.938 kB / 0.8402 GB, free: 1.852 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.828e-05/0.1974, allocations: 15.92 kB / 0.8402 GB, free: 1.836 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.1974, allocations: 15.94 kB / 0.8402 GB, free: 1.82 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1975, allocations: 4 kB / 0.8402 GB, free: 1.816 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.1999, allocations: 1.763 MB / 0.8419 GB, free: 52 kB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1999, allocations: 11.94 kB / 0.8419 GB, free: 40 kB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.1999, allocations: 23.86 kB / 0.8419 GB, free: 16 kB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.2014, allocations: 1.142 MB / 0.8431 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2014, allocations: 0 / 0.8431 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2014, allocations: 0 / 0.8431 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2014, allocations: 0 / 0.8431 GB, free: 14.87 MB / 0.5919 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.0005995/0.202, allocations: 476 kB / 0.8435 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.202, allocations: 13.22 kB / 0.8435 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.2021, allocations: 80.16 kB / 0.8436 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.2022, allocations: 201.7 kB / 0.8438 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/0.2023, allocations: 150.9 kB / 0.8439 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.2024, allocations: 154.9 kB / 0.8441 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.144e-05/0.2024, allocations: 105.1 kB / 0.8442 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.2025, allocations: 75.28 kB / 0.8443 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.2025, allocations: 154.6 kB / 0.8444 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.81e-05/0.2026, allocations: 154.6 kB / 0.8445 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.46e-05/0.2027, allocations: 158.5 kB / 0.8447 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.203, allocations: 433 kB / 0.8451 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.2031, allocations: 165.1 kB / 0.8453 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.2031, allocations: 88.08 kB / 0.8454 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.2032, allocations: 75.28 kB / 0.8454 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.2032, allocations: 113.8 kB / 0.8455 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.2032, allocations: 0 / 0.8455 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.158e-05/0.2033, allocations: 45.62 kB / 0.8456 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.2034, allocations: 130.7 kB / 0.8457 GB, free: 12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.2035, allocations: 139.6 kB / 0.8458 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2035, allocations: 25.7 kB / 0.8459 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.2036, allocations: 88.14 kB / 0.8459 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.2036, allocations: 0 / 0.8459 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.2036, allocations: 21.7 kB / 0.846 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2038, allocations: 314.8 kB / 0.8463 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.2038, allocations: 8 kB / 0.8463 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.2038, allocations: 4 kB / 0.8463 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.2038, allocations: 20.88 kB / 0.8463 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2038, allocations: 3.938 kB / 0.8463 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001223/0.204, allocations: 53.59 kB / 0.8464 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.204, allocations: 4 kB / 0.8464 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.204, allocations: 7.938 kB / 0.8464 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.204, allocations: 0 / 0.8464 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-06/0.204, allocations: 4 kB / 0.8464 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.204, allocations: 0 / 0.8464 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.204, allocations: 3.984 kB / 0.8464 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.204, allocations: 0 / 0.8464 GB, free: 11.28 MB / 0.5919 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.0001058/0.2042, allocations: 189.8 kB / 0.8466 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.2042, allocations: 112.8 kB / 0.8467 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/0.2043, allocations: 112.8 kB / 0.8468 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.335e-05/0.2044, allocations: 180.2 kB / 0.8469 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.289e-05/0.2044, allocations: 180.2 kB / 0.8471 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.629e-05/0.2045, allocations: 184.3 kB / 0.8473 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.2048, allocations: 384.2 kB / 0.8477 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.54e-05/0.2048, allocations: 108.9 kB / 0.8478 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.2049, allocations: 105 kB / 0.8479 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.468e-05/0.2049, allocations: 180.2 kB / 0.848 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/0.205, allocations: 176.3 kB / 0.8482 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-05/0.2051, allocations: 192.3 kB / 0.8484 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-05/0.2052, allocations: 184.2 kB / 0.8486 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.2053, allocations: 307.7 kB / 0.8489 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.2054, allocations: 116.9 kB / 0.849 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.2055, allocations: 188.2 kB / 0.8491 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.2056, allocations: 101 kB / 0.8492 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.2056, allocations: 184.2 kB / 0.8494 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.2057, allocations: 104.9 kB / 0.8495 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.642e-05/0.2058, allocations: 97.14 kB / 0.8496 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2058, allocations: 0 / 0.8496 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006639/0.2064, allocations: 299 kB / 0.8499 GB, free: 7.469 MB / 0.5919 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.001024/0.2074, allocations: 0.5507 MB / 0.8504 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.2075, allocations: 38.05 kB / 0.8505 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2075, allocations: 0 / 0.8505 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/0.2076, allocations: 4 kB / 0.8505 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.208, allocations: 471.6 kB / 0.8509 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.2083, allocations: 262.4 kB / 0.8512 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.2086, allocations: 0.6846 MB / 0.8518 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.2086, allocations: 11.44 kB / 0.8518 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.2086, allocations: 0 / 0.8518 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of Templates: time 0.0081/0.2167, allocations: 4.935 MB / 0.8567 GB, free: 464 kB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.76839962019585] Failed to read output from testmodel.py, exit status != 0: 0.22387390187941492 0.23888587400000003 0.034445097 Calling exit ...