Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001369/0.001369, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.001539/0.001539, allocations: 164.7 kB / 22.46 MB, free: 5.355 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.431/1.431, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.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.002458/0.002458, allocations: 241.7 kB / 259.4 MB, free: 472 kB / 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.072/1.072, allocations: 138.4 MB / 454.3 MB, free: 1.969 MB / 366.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6469 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.621e-05, allocations: 2.281 kB / 0.6469 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005269/0.005295, allocations: 3.796 MB / 0.6506 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2445/0.2497, allocations: 2.222 MB / 0.6527 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.25, allocations: 10.41 kB / 0.6527 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.2514, allocations: 0.4989 MB / 0.6532 GB, free: 53.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.2518, allocations: 263.7 kB / 0.6535 GB, free: 53.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.252, allocations: 139.9 kB / 0.6536 GB, free: 53.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.2526, allocations: 0.8453 MB / 0.6544 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.2529, allocations: 219.5 kB / 0.6546 GB, free: 52.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004532/0.2533, allocations: 458.4 kB / 0.6551 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.2536, allocations: 243.3 kB / 0.6553 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.267e-05/0.2537, allocations: 74.56 kB / 0.6554 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.2538, allocations: 76.88 kB / 0.6555 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2539, allocations: 180.5 kB / 0.6556 GB, free: 52.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.2541, allocations: 262.5 kB / 0.6559 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.2548, allocations: 0.9946 MB / 0.6569 GB, free: 52.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2548, allocations: 0.9062 kB / 0.6569 GB, free: 52.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2548, allocations: 3.938 kB / 0.6569 GB, free: 52.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.2548, allocations: 0.8125 kB / 0.6569 GB, free: 52.25 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001195/0.256, allocations: 0.8857 MB / 0.6577 GB, free: 51.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.256, allocations: 10.41 kB / 0.6577 GB, free: 51.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.876e-05/0.2561, allocations: 76.75 kB / 0.6578 GB, free: 51.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.2566, allocations: 396.8 kB / 0.6582 GB, free: 51.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.2566, allocations: 38.41 kB / 0.6582 GB, free: 51.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.2567, allocations: 48.56 kB / 0.6583 GB, free: 51.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006346/0.2573, allocations: 427.4 kB / 0.6587 GB, free: 51.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.2574, allocations: 192 / 0.6587 GB, free: 51.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.2574, allocations: 26.38 kB / 0.6587 GB, free: 51.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.2574, allocations: 20.97 kB / 0.6587 GB, free: 51.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.258, allocations: 365.2 kB / 0.6591 GB, free: 50.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.2595, allocations: 1.17 MB / 0.6602 GB, free: 50.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.26, allocations: 311.3 kB / 0.6605 GB, free: 50.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000394/0.2604, allocations: 285.9 kB / 0.6608 GB, free: 50.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2604, allocations: 6.5 kB / 0.6608 GB, free: 50.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.2604, allocations: 37.5 kB / 0.6608 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.2604, allocations: 3.219 kB / 0.6608 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.000831/0.2612, allocations: 494.5 kB / 0.6613 GB, free: 49.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.2613, allocations: 61.62 kB / 0.6614 GB, free: 49.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.2617, allocations: 436.3 kB / 0.6618 GB, free: 49.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.2617, allocations: 40.64 kB / 0.6618 GB, free: 49.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2618, allocations: 281.2 kB / 0.6621 GB, free: 49.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.2619, allocations: 150 kB / 0.6622 GB, free: 49.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.262, allocations: 57.83 kB / 0.6623 GB, free: 49.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.262, allocations: 364.4 kB / 0.6626 GB, free: 48.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.2623, allocations: 122.3 kB / 0.6627 GB, free: 48.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.2625, allocations: 125.6 kB / 0.6629 GB, free: 48.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.2629, allocations: 301.2 kB / 0.6632 GB, free: 48.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2629, allocations: 0 / 0.6632 GB, free: 48.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005508/0.2635, allocations: 394.9 kB / 0.6635 GB, free: 48.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2635, allocations: 8.422 kB / 0.6635 GB, free: 48.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2635, allocations: 0 / 0.6635 GB, free: 48.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2635, allocations: 2.625 kB / 0.6635 GB, free: 48.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.264, allocations: 131.1 kB / 0.6637 GB, free: 48.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.264, allocations: 4 kB / 0.6637 GB, free: 48.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.2642, allocations: 35.36 kB / 0.6637 GB, free: 48.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.2643, allocations: 16.72 kB / 0.6637 GB, free: 48.3 MB / 0.5606 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001662/0.2644, allocations: 194 kB / 0.6639 GB, free: 48.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.2645, allocations: 46.64 kB / 0.6639 GB, free: 48.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.238e-05/0.2646, allocations: 54.31 kB / 0.664 GB, free: 48.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2646, allocations: 5.516 kB / 0.664 GB, free: 48.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2646, allocations: 3.938 kB / 0.664 GB, free: 48.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2646, allocations: 3.469 kB / 0.664 GB, free: 48.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.265, allocations: 422.4 kB / 0.6644 GB, free: 47.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.265, allocations: 4 kB / 0.6644 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.2655, allocations: 124 kB / 0.6645 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2655, allocations: 0 / 0.6645 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.2655, allocations: 6.844 kB / 0.6645 GB, free: 47.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2656, allocations: 2.906 kB / 0.6645 GB, free: 47.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2656, allocations: 2.5 kB / 0.6645 GB, free: 47.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.2664, allocations: 0.6535 MB / 0.6652 GB, free: 47.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/0.2664, allocations: 58.78 kB / 0.6652 GB, free: 47.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.2665, allocations: 7.156 kB / 0.6652 GB, free: 47.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.2667, allocations: 14.42 kB / 0.6653 GB, free: 47.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.2668, allocations: 30.73 kB / 0.6653 GB, free: 47.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.2668, allocations: 9.156 kB / 0.6653 GB, free: 47.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000264/0.2671, allocations: 315.8 kB / 0.6656 GB, free: 47.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2671, allocations: 0 / 0.6656 GB, free: 47.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003798/0.2674, allocations: 153.1 kB / 0.6657 GB, free: 47.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001179/0.2676, allocations: 118.2 kB / 0.6659 GB, free: 47.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005154/0.2681, allocations: 296.4 kB / 0.6661 GB, free: 47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2681, allocations: 0 / 0.6661 GB, free: 47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.2683, allocations: 169.7 kB / 0.6663 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.2689, allocations: 99.03 kB / 0.6664 GB, free: 46.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.2704, allocations: 1.091 MB / 0.6675 GB, free: 46.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.2706, allocations: 275.8 kB / 0.6677 GB, free: 46.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.2707, allocations: 43.61 kB / 0.6678 GB, free: 46.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.2708, allocations: 33.81 kB / 0.6678 GB, free: 46.16 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2708, allocations: 4 kB / 0.6678 GB, free: 46.15 MB / 0.5606 GB Notification: Performance of Templates: time 0.01011/0.2809, allocations: 4.976 MB / 0.6727 GB, free: 45.56 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.910495940595865] Failed to read output from testmodel.py, exit status != 0: 0.288646437227726 0.29986484900000004 0.042503652 Calling exit ...