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.001391/0.001391, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001631/0.001631, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.793 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.00261/0.00261, allocations: 291.1 kB / 312.7 MB, free: 2.699 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.293/1.293, allocations: 180.6 MB / 0.5369 GB, free: 14.68 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.003001/0.003001, allocations: 107.8 kB / 0.7401 GB, free: 27.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1521, allocations: 95.38 MB / 0.8332 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002689/0.1548, allocations: 1.446 MB / 0.8346 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004778/0.1596, allocations: 2.668 MB / 0.8372 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.1596, allocations: 0 / 0.8372 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.1596, allocations: 7.984 kB / 0.8372 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.1597, allocations: 15.8 kB / 0.8372 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.164, allocations: 1.648 MB / 0.8389 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.1641, allocations: 47.67 kB / 0.8389 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.1641, allocations: 4 kB / 0.8389 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.1642, allocations: 15.92 kB / 0.8389 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.649e-05/0.1642, allocations: 11.94 kB / 0.8389 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1642, allocations: 3.984 kB / 0.8389 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.1668, allocations: 1.482 MB / 0.8404 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.1668, allocations: 3.938 kB / 0.8404 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1668, allocations: 19.88 kB / 0.8404 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.1687, allocations: 1.099 MB / 0.8415 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1687, allocations: 4 kB / 0.8415 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1687, allocations: 0 / 0.8415 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1687, allocations: 0 / 0.8415 GB, free: 15.3 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.0006952/0.1694, allocations: 480 kB / 0.8419 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1694, allocations: 8.625 kB / 0.842 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.1695, allocations: 84.17 kB / 0.842 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1696, allocations: 189.8 kB / 0.8422 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.1697, allocations: 150.9 kB / 0.8424 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.1698, allocations: 154.9 kB / 0.8425 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.422e-05/0.1699, allocations: 113 kB / 0.8426 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.1699, allocations: 75.28 kB / 0.8427 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.17, allocations: 158.6 kB / 0.8428 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.128e-05/0.17, allocations: 154.6 kB / 0.843 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.711e-05/0.1701, allocations: 154.5 kB / 0.8431 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.1704, allocations: 413.6 kB / 0.8435 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1705, allocations: 173.1 kB / 0.8437 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.1706, allocations: 80.14 kB / 0.8438 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.1706, allocations: 75.28 kB / 0.8438 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/0.1707, allocations: 105.8 kB / 0.8439 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1707, allocations: 0 / 0.8439 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.526e-05/0.1708, allocations: 45.52 kB / 0.844 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.1708, allocations: 138.7 kB / 0.8441 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.171, allocations: 135.5 kB / 0.8442 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.171, allocations: 29.64 kB / 0.8443 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.1711, allocations: 92.14 kB / 0.8444 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.1711, allocations: 0 / 0.8444 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1711, allocations: 21.64 kB / 0.8444 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1713, allocations: 314.8 kB / 0.8447 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.1713, allocations: 4 kB / 0.8447 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.1713, allocations: 8 kB / 0.8447 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.1713, allocations: 20.84 kB / 0.8447 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1713, allocations: 32 / 0.8447 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001348/0.1715, allocations: 49.66 kB / 0.8448 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1715, allocations: 11.94 kB / 0.8448 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.1715, allocations: 4 kB / 0.8448 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1715, allocations: 0 / 0.8448 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-06/0.1715, allocations: 3.938 kB / 0.8448 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1715, allocations: 0 / 0.8448 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.1716, allocations: 0 / 0.8448 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1716, allocations: 7.984 kB / 0.8448 GB, free: 11.73 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.0001152/0.1717, allocations: 181.8 kB / 0.845 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.1717, allocations: 112.9 kB / 0.8451 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.1718, allocations: 112.8 kB / 0.8452 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-05/0.1719, allocations: 184.2 kB / 0.8454 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.541e-05/0.172, allocations: 180.2 kB / 0.8455 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.273e-05/0.1721, allocations: 180.2 kB / 0.8457 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.1723, allocations: 360.9 kB / 0.846 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.367e-05/0.1724, allocations: 109 kB / 0.8461 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.1724, allocations: 104.9 kB / 0.8462 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.263e-05/0.1725, allocations: 180.2 kB / 0.8464 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/0.1726, allocations: 192.2 kB / 0.8466 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-05/0.1727, allocations: 176.3 kB / 0.8468 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.672e-05/0.1727, allocations: 184.2 kB / 0.8469 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.1729, allocations: 311.8 kB / 0.8472 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.173, allocations: 116.9 kB / 0.8473 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/0.1731, allocations: 180.2 kB / 0.8475 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.1732, allocations: 112.9 kB / 0.8476 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.1733, allocations: 180.3 kB / 0.8478 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.1733, allocations: 105 kB / 0.8479 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.817e-05/0.1734, allocations: 97.61 kB / 0.848 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1734, allocations: 0 / 0.848 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008126/0.1742, allocations: 299 kB / 0.8483 GB, free: 7.965 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.001194/0.1754, allocations: 0.5556 MB / 0.8488 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.1755, allocations: 41.7 kB / 0.8489 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1755, allocations: 4 kB / 0.8489 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.1755, allocations: 352 / 0.8489 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.1759, allocations: 467.7 kB / 0.8493 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.1763, allocations: 243 kB / 0.8495 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.287e-05/0.1764, allocations: 71.59 kB / 0.8496 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.241e-05/0.1764, allocations: 0 / 0.8496 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.1764, allocations: 7.438 kB / 0.8496 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.1764, allocations: 0 / 0.8496 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of Templates: time 0.01134/0.1877, allocations: 5.94 MB / 0.8554 GB, free: 0.6484 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: 6.281865503638983] Failed to read output from testmodel.py, exit status != 0: 0.19524529948830605 0.21244564200000002 0.040360992000000005 Calling exit ...