Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001483/0.001483, 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.001799/0.001799, allocations: 220.5 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.002538/0.002538, allocations: 280.2 kB / 313.5 MB, free: 2.941 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.251/1.251, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [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.002887/0.002887, allocations: 112.5 kB / 0.7409 GB, free: 27.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2041, allocations: 95.38 MB / 0.834 GB, free: 8.125 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002798/0.2069, allocations: 1.461 MB / 0.8355 GB, free: 6.652 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004859/0.2118, allocations: 2.998 MB / 0.8384 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.2118, allocations: 0 / 0.8384 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.2119, allocations: 3.938 kB / 0.8384 GB, free: 3.633 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.2119, allocations: 15.84 kB / 0.8384 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.2162, allocations: 1.728 MB / 0.8401 GB, free: 1.906 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.2163, allocations: 43.67 kB / 0.8401 GB, free: 1.863 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.2163, allocations: 4 kB / 0.8401 GB, free: 1.859 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.2163, allocations: 19.92 kB / 0.8402 GB, free: 1.84 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 3.094e-05/0.2164, allocations: 19.92 kB / 0.8402 GB, free: 1.82 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2164, allocations: 4 kB / 0.8402 GB, free: 1.816 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.219, allocations: 1.759 MB / 0.8419 GB, free: 56 kB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.219, allocations: 3.938 kB / 0.8419 GB, free: 52 kB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.219, allocations: 23.81 kB / 0.8419 GB, free: 28 kB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.2206, allocations: 1.153 MB / 0.8431 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2206, allocations: 0 / 0.8431 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2206, allocations: 0 / 0.8431 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2206, 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.0006415/0.2212, allocations: 483.9 kB / 0.8435 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2213, allocations: 8.625 kB / 0.8435 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.2213, allocations: 80.22 kB / 0.8436 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.2215, allocations: 189.7 kB / 0.8438 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/0.2216, allocations: 158.9 kB / 0.8439 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.2216, allocations: 150.9 kB / 0.8441 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.2217, allocations: 113.1 kB / 0.8442 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.2218, allocations: 75.28 kB / 0.8443 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.2218, allocations: 150.6 kB / 0.8444 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.404e-05/0.2219, allocations: 154.5 kB / 0.8445 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.267e-05/0.2219, allocations: 150.6 kB / 0.8447 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.2223, allocations: 441 kB / 0.8451 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.2224, allocations: 165.1 kB / 0.8453 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.2224, allocations: 88.08 kB / 0.8454 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.2225, allocations: 75.28 kB / 0.8454 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.2225, allocations: 117.7 kB / 0.8455 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.2225, allocations: 0 / 0.8455 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.671e-05/0.2226, allocations: 33.7 kB / 0.8456 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/0.2227, allocations: 130.7 kB / 0.8457 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.2229, allocations: 140 kB / 0.8458 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2229, allocations: 29.69 kB / 0.8459 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.2229, allocations: 84.14 kB / 0.8459 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.2229, allocations: 0 / 0.8459 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.223, allocations: 21.72 kB / 0.846 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2231, allocations: 322.8 kB / 0.8463 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.2231, allocations: 4 kB / 0.8463 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.2232, allocations: 4 kB / 0.8463 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.2232, allocations: 16.8 kB / 0.8463 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2232, allocations: 0 / 0.8463 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001382/0.2233, allocations: 57.58 kB / 0.8463 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2234, allocations: 4 kB / 0.8463 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.2234, allocations: 4 kB / 0.8464 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2234, allocations: 64 / 0.8464 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.2234, allocations: 4 kB / 0.8464 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2234, allocations: 0 / 0.8464 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.2234, allocations: 8.062 kB / 0.8464 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.2234, allocations: 0 / 0.8464 GB, free: 11.29 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.0001142/0.2235, allocations: 193.7 kB / 0.8465 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.2236, allocations: 116.8 kB / 0.8467 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.969e-05/0.2237, allocations: 108.8 kB / 0.8468 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.301e-05/0.2237, allocations: 184.2 kB / 0.8469 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-05/0.2238, allocations: 176.3 kB / 0.8471 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.657e-05/0.2239, allocations: 184.2 kB / 0.8473 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.2242, allocations: 384.2 kB / 0.8477 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.507e-05/0.2242, allocations: 108.9 kB / 0.8478 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.2243, allocations: 108.9 kB / 0.8479 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.108e-05/0.2243, allocations: 176.3 kB / 0.848 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/0.2244, allocations: 184.2 kB / 0.8482 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.547e-05/0.2245, allocations: 184.2 kB / 0.8484 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.628e-05/0.2246, allocations: 180.2 kB / 0.8485 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.2248, allocations: 311.7 kB / 0.8488 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.2248, allocations: 124.8 kB / 0.849 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.2249, allocations: 180.2 kB / 0.8491 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.225, allocations: 101 kB / 0.8492 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.2251, allocations: 184.2 kB / 0.8494 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/0.2251, allocations: 105 kB / 0.8495 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.2252, allocations: 105.3 kB / 0.8496 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2252, allocations: 0 / 0.8496 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007978/0.226, allocations: 295 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.001098/0.2271, allocations: 0.548 MB / 0.8504 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.2272, allocations: 45.97 kB / 0.8505 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2272, allocations: 0 / 0.8505 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.2272, allocations: 0 / 0.8505 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.2277, allocations: 459.6 kB / 0.8509 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.228, allocations: 270.4 kB / 0.8512 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.2284, allocations: 0.6807 MB / 0.8518 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.2284, allocations: 11.44 kB / 0.8518 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.2284, allocations: 0 / 0.8518 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of Templates: time 0.008634/0.237, allocations: 4.932 MB / 0.8567 GB, free: 476 kB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.845412458991632] Failed to read output from testmodel.py, exit status != 0: 0.24462229921482503 0.259665079 0.036045789 Calling exit ...