Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001445/0.001445, allocations: 102.1 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.001782/0.001782, allocations: 215.4 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.002785/0.002785, allocations: 283 kB / 313.5 MB, free: 2.844 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.218/1.218, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.002831/0.002831, allocations: 101.7 kB / 0.7409 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2116, allocations: 95.39 MB / 0.834 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003015/0.2146, allocations: 1.449 MB / 0.8355 GB, free: 6.652 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004672/0.2193, allocations: 2.955 MB / 0.8383 GB, free: 3.68 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.2193, allocations: 0 / 0.8383 GB, free: 3.68 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.2193, allocations: 3.938 kB / 0.8383 GB, free: 3.676 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.2194, allocations: 19.84 kB / 0.8384 GB, free: 3.656 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.2232, allocations: 1.693 MB / 0.84 GB, free: 1.98 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.2233, allocations: 39.73 kB / 0.8401 GB, free: 1.941 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.2234, allocations: 4 kB / 0.8401 GB, free: 1.938 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.2234, allocations: 23.92 kB / 0.8401 GB, free: 1.914 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 3.267e-05/0.2234, allocations: 11.88 kB / 0.8401 GB, free: 1.902 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2235, allocations: 4 kB / 0.8401 GB, free: 1.898 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.226, allocations: 1.716 MB / 0.8418 GB, free: 184 kB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.2261, allocations: 4 kB / 0.8418 GB, free: 180 kB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.2261, allocations: 19.81 kB / 0.8418 GB, free: 160 kB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.2278, allocations: 1.126 MB / 0.8429 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2279, allocations: 0 / 0.8429 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2279, allocations: 0 / 0.8429 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2279, allocations: 4 kB / 0.8429 GB, free: 15.02 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.0006053/0.2285, allocations: 464.1 kB / 0.8433 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2285, allocations: 8.625 kB / 0.8433 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.2286, allocations: 84.17 kB / 0.8434 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.2287, allocations: 195.3 kB / 0.8436 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.2288, allocations: 154.9 kB / 0.8438 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/0.2289, allocations: 154.9 kB / 0.8439 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.046e-05/0.2289, allocations: 109 kB / 0.844 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.229, allocations: 75.28 kB / 0.8441 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.229, allocations: 154.6 kB / 0.8442 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-05/0.2291, allocations: 150.6 kB / 0.8444 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.988e-05/0.2292, allocations: 150.6 kB / 0.8445 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.2295, allocations: 440.9 kB / 0.8449 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.2296, allocations: 173.1 kB / 0.8451 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.2296, allocations: 80.14 kB / 0.8452 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.2297, allocations: 75.28 kB / 0.8453 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.244e-05/0.2297, allocations: 117.8 kB / 0.8454 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2297, allocations: 0 / 0.8454 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.475e-05/0.2298, allocations: 33.64 kB / 0.8454 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.2299, allocations: 126.7 kB / 0.8455 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.23, allocations: 140.1 kB / 0.8457 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.23, allocations: 25.7 kB / 0.8457 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.2301, allocations: 88.09 kB / 0.8458 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.2301, allocations: 3.984 kB / 0.8458 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.2301, allocations: 21.72 kB / 0.8458 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2303, allocations: 322.9 kB / 0.8461 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.2303, allocations: 8 kB / 0.8461 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.2303, allocations: 0 / 0.8461 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.2303, allocations: 12.91 kB / 0.8461 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2303, allocations: 0 / 0.8461 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/0.2305, allocations: 53.61 kB / 0.8462 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2305, allocations: 8 kB / 0.8462 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.2305, allocations: 4.062 kB / 0.8462 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2305, allocations: 4 kB / 0.8462 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.2305, allocations: 3.938 kB / 0.8462 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2305, allocations: 7.984 kB / 0.8462 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.2305, allocations: 3.953 kB / 0.8462 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2305, allocations: 0 / 0.8462 GB, free: 11.45 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.0001104/0.2307, allocations: 193.7 kB / 0.8464 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.2307, allocations: 108.9 kB / 0.8465 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.2308, allocations: 116.6 kB / 0.8466 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.33e-05/0.2309, allocations: 184.1 kB / 0.8468 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.788e-05/0.2309, allocations: 180.2 kB / 0.8469 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.78e-05/0.231, allocations: 180.2 kB / 0.8471 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.2313, allocations: 384.3 kB / 0.8475 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-05/0.2313, allocations: 112.9 kB / 0.8476 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.2313, allocations: 105 kB / 0.8477 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.06e-05/0.2314, allocations: 180.2 kB / 0.8479 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.583e-05/0.2315, allocations: 180.2 kB / 0.848 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.964e-05/0.2316, allocations: 180.3 kB / 0.8482 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.521e-05/0.2317, allocations: 184.2 kB / 0.8484 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.2318, allocations: 307.8 kB / 0.8487 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.2319, allocations: 124.8 kB / 0.8488 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.232, allocations: 176.3 kB / 0.849 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.232, allocations: 104.9 kB / 0.8491 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.2321, allocations: 180.3 kB / 0.8492 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.2322, allocations: 109 kB / 0.8493 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.468e-05/0.2322, allocations: 99.27 kB / 0.8494 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2322, allocations: 0 / 0.8494 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006539/0.2329, allocations: 291 kB / 0.8497 GB, free: 7.645 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.0009766/0.2339, allocations: 0.5323 MB / 0.8502 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.712e-05/0.234, allocations: 33.7 kB / 0.8503 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.234, allocations: 0 / 0.8503 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.234, allocations: 352 / 0.8503 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.2344, allocations: 469.6 kB / 0.8507 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.2348, allocations: 266.5 kB / 0.851 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.2351, allocations: 0.6846 MB / 0.8516 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.2351, allocations: 11.44 kB / 0.8516 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.2351, allocations: 0 / 0.8516 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of Templates: time 0.007547/0.2426, allocations: 4.813 MB / 0.8563 GB, free: 0.7773 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.651374306064099] Failed to read output from testmodel.py, exit status != 0: 0.24978439207188785 0.26393445600000004 0.033177699000000005 Calling exit ...