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.001429/0.001429, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001614/0.001614, allocations: 221.1 kB / 22.99 MB, free: 4.914 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.00258/0.00258, allocations: 297.8 kB / 313.5 MB, free: 2.602 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.27/1.27, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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.003051/0.003051, allocations: 104.2 kB / 0.7408 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1943, allocations: 95.39 MB / 0.834 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002734/0.1971, allocations: 1.432 MB / 0.8354 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004704/0.2018, allocations: 2.679 MB / 0.838 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.2018, allocations: 0 / 0.838 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.2018, allocations: 3.984 kB / 0.838 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.2019, allocations: 19.8 kB / 0.838 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004434/0.2064, allocations: 1.646 MB / 0.8396 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2065, allocations: 47.72 kB / 0.8396 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.2065, allocations: 8 kB / 0.8397 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.2065, allocations: 15.92 kB / 0.8397 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.2066, allocations: 15.88 kB / 0.8397 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.2066, allocations: 0 / 0.8397 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.2091, allocations: 1.482 MB / 0.8411 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.2091, allocations: 0 / 0.8411 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.2092, allocations: 15.88 kB / 0.8411 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.2109, allocations: 1.103 MB / 0.8422 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2109, allocations: 0 / 0.8422 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2109, allocations: 4 kB / 0.8422 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2109, allocations: 3.938 kB / 0.8422 GB, free: 15.28 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.0006978/0.2116, allocations: 480 kB / 0.8427 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.2117, allocations: 8.625 kB / 0.8427 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.2118, allocations: 88.17 kB / 0.8428 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.2119, allocations: 185.8 kB / 0.843 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.212, allocations: 154.9 kB / 0.8431 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.2121, allocations: 150.9 kB / 0.8432 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.2121, allocations: 113 kB / 0.8434 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.2122, allocations: 79.27 kB / 0.8434 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.2122, allocations: 150.6 kB / 0.8436 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-05/0.2123, allocations: 154.6 kB / 0.8437 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.2124, allocations: 158.6 kB / 0.8439 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.2127, allocations: 405.6 kB / 0.8443 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.2128, allocations: 173.1 kB / 0.8444 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.2128, allocations: 80.14 kB / 0.8445 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.2129, allocations: 79.28 kB / 0.8446 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.2129, allocations: 105.8 kB / 0.8447 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2129, allocations: 0 / 0.8447 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.605e-05/0.213, allocations: 41.58 kB / 0.8447 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.2131, allocations: 130.7 kB / 0.8448 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.2133, allocations: 139.6 kB / 0.845 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2133, allocations: 29.7 kB / 0.845 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.2133, allocations: 88.14 kB / 0.8451 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.2133, allocations: 0 / 0.8451 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.2134, allocations: 25.64 kB / 0.8451 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2135, allocations: 314.8 kB / 0.8454 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.2135, allocations: 4 kB / 0.8454 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.2136, allocations: 11.98 kB / 0.8454 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.871e-05/0.2136, allocations: 8.859 kB / 0.8454 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.2136, allocations: 4 kB / 0.8454 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001343/0.2137, allocations: 45.72 kB / 0.8455 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2137, allocations: 15.94 kB / 0.8455 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.2138, allocations: 0 / 0.8455 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2138, allocations: 0 / 0.8455 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.2138, allocations: 4 kB / 0.8455 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2138, allocations: 7.969 kB / 0.8455 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.2138, allocations: 7.938 kB / 0.8455 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.2138, allocations: 64 / 0.8455 GB, free: 11.72 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.0001088/0.2139, allocations: 185.8 kB / 0.8457 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.214, allocations: 116.9 kB / 0.8458 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.2141, allocations: 104.8 kB / 0.8459 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.459e-05/0.2142, allocations: 196.1 kB / 0.8461 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.259e-05/0.2142, allocations: 184.2 kB / 0.8463 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-05/0.2143, allocations: 180.2 kB / 0.8464 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.2146, allocations: 360.9 kB / 0.8468 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.621e-05/0.2146, allocations: 101 kB / 0.8469 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.2146, allocations: 112.9 kB / 0.847 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.158e-05/0.2147, allocations: 180.3 kB / 0.8472 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.261e-05/0.2148, allocations: 184.1 kB / 0.8473 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.221e-05/0.2149, allocations: 180.3 kB / 0.8475 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.591e-05/0.215, allocations: 176.3 kB / 0.8477 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.2151, allocations: 319.7 kB / 0.848 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.2152, allocations: 112.9 kB / 0.8481 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.2153, allocations: 184.2 kB / 0.8483 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.2154, allocations: 105 kB / 0.8484 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.2155, allocations: 192.2 kB / 0.8485 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.2155, allocations: 101 kB / 0.8486 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.911e-05/0.2156, allocations: 97.45 kB / 0.8487 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2156, allocations: 0 / 0.8487 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008155/0.2164, allocations: 295 kB / 0.849 GB, free: 7.945 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.001157/0.2175, allocations: 0.5518 MB / 0.8496 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.2177, allocations: 41.64 kB / 0.8496 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2177, allocations: 0 / 0.8496 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-06/0.2177, allocations: 352 / 0.8496 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.2181, allocations: 463.7 kB / 0.85 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.2185, allocations: 274.4 kB / 0.8503 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.838e-05/0.2186, allocations: 67.59 kB / 0.8504 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.2186, allocations: 11.44 kB / 0.8504 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/0.2186, allocations: 0 / 0.8504 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of Templates: time 0.009689/0.2283, allocations: 4.944 MB / 0.8552 GB, free: 1.539 MB / 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: 10.02074862504378] Failed to read output from testmodel.py, exit status != 0: 0.23624281212687492 0.251410044 0.037380458000000005 Calling exit ...