Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001647/0.001647, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001925/0.001925, allocations: 161.7 kB / 22.46 MB, free: 5.375 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.39/1.39, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] 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.002447/0.002447, allocations: 234.2 kB / 259.4 MB, free: 464 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.049/1.049, allocations: 138.4 MB / 454.3 MB, free: 2.047 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.007e-05, allocations: 2.281 kB / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004166/0.004186, allocations: 2.857 MB / 0.6496 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.007152, allocations: 1.958 MB / 0.6515 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.00736, allocations: 8 kB / 0.6515 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.2408/0.2482, allocations: 450.8 kB / 0.652 GB, free: 53.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.2486, allocations: 161 kB / 0.6521 GB, free: 53.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.2487, allocations: 63.78 kB / 0.6522 GB, free: 53.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.2491, allocations: 474.2 kB / 0.6526 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2493, allocations: 93.89 kB / 0.6527 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.2495, allocations: 247.2 kB / 0.653 GB, free: 53.28 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.2497, allocations: 137.8 kB / 0.6531 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.2498, allocations: 36.12 kB / 0.6531 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.2498, allocations: 32.44 kB / 0.6532 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.2499, allocations: 99.34 kB / 0.6533 GB, free: 53.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.25, allocations: 143.2 kB / 0.6534 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.2504, allocations: 0.5393 MB / 0.6539 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2504, allocations: 0 / 0.6539 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2504, allocations: 0.625 kB / 0.6539 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2504, allocations: 0 / 0.6539 GB, free: 53.18 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008105/0.2512, allocations: 0.6389 MB / 0.6546 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2513, allocations: 11.19 kB / 0.6546 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.2513, allocations: 50.23 kB / 0.6546 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.2518, allocations: 313.9 kB / 0.6549 GB, free: 52.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2518, allocations: 15.19 kB / 0.6549 GB, free: 52.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.2518, allocations: 23.31 kB / 0.6549 GB, free: 52.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.2522, allocations: 205 kB / 0.6551 GB, free: 52.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2522, allocations: 9.234 kB / 0.6551 GB, free: 52.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.2522, allocations: 7.438 kB / 0.6552 GB, free: 52.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2522, allocations: 7.031 kB / 0.6552 GB, free: 52.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.2526, allocations: 161.7 kB / 0.6553 GB, free: 52.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008488/0.2534, allocations: 0.6358 MB / 0.6559 GB, free: 52.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.2537, allocations: 144.3 kB / 0.6561 GB, free: 52.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.2539, allocations: 103.3 kB / 0.6562 GB, free: 52.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2539, allocations: 3.25 kB / 0.6562 GB, free: 52.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.2539, allocations: 33.5 kB / 0.6562 GB, free: 52.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.2539, allocations: 0.5 kB / 0.6562 GB, free: 52.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0005252/0.2544, allocations: 258.4 kB / 0.6565 GB, free: 52.08 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.2544, allocations: 55.38 kB / 0.6565 GB, free: 52.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.2548, allocations: 398.6 kB / 0.6569 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.2548, allocations: 26.89 kB / 0.6569 GB, free: 51.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.2549, allocations: 209.8 kB / 0.6571 GB, free: 51.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.2549, allocations: 67.22 kB / 0.6572 GB, free: 51.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.255, allocations: 27.94 kB / 0.6572 GB, free: 51.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.255, allocations: 353.7 kB / 0.6575 GB, free: 51.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2552, allocations: 55.78 kB / 0.6576 GB, free: 51.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.2553, allocations: 62.11 kB / 0.6577 GB, free: 51.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.2556, allocations: 139.3 kB / 0.6578 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.2556, allocations: 0 / 0.6578 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003412/0.2559, allocations: 212.8 kB / 0.658 GB, free: 51.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2559, allocations: 3.969 kB / 0.658 GB, free: 51.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2559, allocations: 6.562 kB / 0.658 GB, free: 51.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2559, allocations: 0.5312 kB / 0.658 GB, free: 51.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.2562, allocations: 57.03 kB / 0.6581 GB, free: 51.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2562, allocations: 3.344 kB / 0.6581 GB, free: 51.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.2563, allocations: 15.25 kB / 0.6581 GB, free: 51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2563, allocations: 10.72 kB / 0.6581 GB, free: 51 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 (20): * Single equations (assignments): 20 * 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.000109/0.2564, allocations: 164 kB / 0.6582 GB, free: 50.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.2565, allocations: 33.02 kB / 0.6583 GB, free: 50.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.2565, allocations: 40.27 kB / 0.6583 GB, free: 50.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2565, allocations: 7.219 kB / 0.6583 GB, free: 50.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2565, allocations: 0 / 0.6583 GB, free: 50.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2565, allocations: 6.656 kB / 0.6583 GB, free: 50.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.2568, allocations: 272 kB / 0.6586 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2568, allocations: 0 / 0.6586 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.257, allocations: 56.17 kB / 0.6586 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.257, allocations: 0 / 0.6586 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.257, allocations: 7.156 kB / 0.6586 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.257, allocations: 0 / 0.6586 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.257, allocations: 0 / 0.6586 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.2575, allocations: 380 kB / 0.659 GB, free: 50.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.2576, allocations: 45.11 kB / 0.659 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.2576, allocations: 3.188 kB / 0.6591 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2578, allocations: 11 kB / 0.6591 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.2578, allocations: 7.547 kB / 0.6591 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.2578, allocations: 14.02 kB / 0.6591 GB, free: 50.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002205/0.2581, allocations: 284.3 kB / 0.6594 GB, free: 50.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2581, allocations: 64 / 0.6594 GB, free: 50.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002819/0.2583, allocations: 73.61 kB / 0.6594 GB, free: 50.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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 8.285e-05/0.2584, allocations: 114.8 kB / 0.6595 GB, free: 50.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.2587, allocations: 143.9 kB / 0.6597 GB, free: 50.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2587, allocations: 0 / 0.6597 GB, free: 50.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.2589, allocations: 72.25 kB / 0.6597 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.2593, allocations: 81.81 kB / 0.6598 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.2602, allocations: 0.6754 MB / 0.6605 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.2603, allocations: 189.6 kB / 0.6607 GB, free: 49.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.694e-05/0.2604, allocations: 32.45 kB / 0.6607 GB, free: 49.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.2605, allocations: 29.34 kB / 0.6607 GB, free: 49.51 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.2605, allocations: 0 / 0.6607 GB, free: 49.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.00674/0.2672, allocations: 3.657 MB / 0.6643 GB, free: 49.11 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.626202650368214] Failed to read output from testmodel.py, exit status != 0: 0.2742721512913704 0.28381797099999995 0.031032085 Calling exit ...