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.0009172/0.0009172, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009322/0.0009322, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9062/0.9062, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 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.001705/0.001705, allocations: 229.9 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.7449/0.7449, allocations: 138.4 MB / 455.2 MB, free: 1.562 MB / 362.7 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.963e-06/1.963e-06, allocations: 0 / 0.5552 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.216e-05, allocations: 10.11 kB / 0.5552 GB, free: 500 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003162/0.003185, allocations: 3.117 MB / 0.5582 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.0054, allocations: 2.152 MB / 0.5603 GB, free: 11.19 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.005563, allocations: 4 kB / 0.5603 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.006599, allocations: 457.6 kB / 0.5608 GB, free: 10.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.006818, allocations: 166.7 kB / 0.5609 GB, free: 10.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.006923, allocations: 55.94 kB / 0.561 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.007303, allocations: 465.6 kB / 0.5614 GB, free: 10.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.007476, allocations: 107.8 kB / 0.5615 GB, free: 9.949 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.007757, allocations: 251.3 kB / 0.5618 GB, free: 9.703 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.007923, allocations: 135.6 kB / 0.5619 GB, free: 9.57 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.007957, allocations: 32 kB / 0.5619 GB, free: 9.539 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.183e-05/0.007999, allocations: 40 kB / 0.562 GB, free: 9.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.724e-05/0.008086, allocations: 95.67 kB / 0.5621 GB, free: 9.406 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.008194, allocations: 147.6 kB / 0.5622 GB, free: 9.262 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.008464, allocations: 287 kB / 0.5625 GB, free: 8.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.008466, allocations: 0 / 0.5625 GB, free: 8.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.008466, allocations: 0 / 0.5625 GB, free: 8.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.008472, allocations: 0 / 0.5625 GB, free: 8.98 MB / 490.7 MB 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.0007226/0.009195, allocations: 0.7523 MB / 0.5632 GB, free: 8.191 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.009231, allocations: 8.031 kB / 0.5632 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.009309, allocations: 64.59 kB / 0.5633 GB, free: 8.121 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.00962, allocations: 314.6 kB / 0.5636 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.009637, allocations: 16.88 kB / 0.5636 GB, free: 7.766 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.009671, allocations: 24.38 kB / 0.5636 GB, free: 7.742 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.009903, allocations: 153.4 kB / 0.5638 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.009914, allocations: 4.188 kB / 0.5638 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.009931, allocations: 12.38 kB / 0.5638 GB, free: 7.566 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.009943, allocations: 7.938 kB / 0.5638 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.01008, allocations: 82.88 kB / 0.5639 GB, free: 7.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.01082, allocations: 0.6981 MB / 0.5645 GB, free: 6.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.01097, allocations: 99.06 kB / 0.5646 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.01105, allocations: 62.62 kB / 0.5647 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.01106, allocations: 4.312 kB / 0.5647 GB, free: 6.566 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.01108, allocations: 41.39 kB / 0.5647 GB, free: 6.516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.01108, allocations: 0 / 0.5647 GB, free: 6.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002563/0.01134, allocations: 173.3 kB / 0.5649 GB, free: 6.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.01136, allocations: 51.41 kB / 0.565 GB, free: 6.277 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.01168, allocations: 442.8 kB / 0.5654 GB, free: 5.832 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.01169, allocations: 25.7 kB / 0.5654 GB, free: 5.801 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01181, allocations: 271.2 kB / 0.5657 GB, free: 5.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.01186, allocations: 67.44 kB / 0.5657 GB, free: 5.465 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.0119, allocations: 39.36 kB / 0.5658 GB, free: 5.418 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.01205, allocations: 0.5352 MB / 0.5663 GB, free: 4.871 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.01209, allocations: 23.98 kB / 0.5663 GB, free: 4.848 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.01213, allocations: 30.39 kB / 0.5663 GB, free: 4.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.01222, allocations: 71.53 kB / 0.5664 GB, free: 4.746 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01222, allocations: 4 kB / 0.5664 GB, free: 4.742 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001548/0.01238, allocations: 152 kB / 0.5666 GB, free: 4.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.01239, allocations: 4 kB / 0.5666 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01239, allocations: 0 / 0.5666 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.0124, allocations: 0 / 0.5666 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.01256, allocations: 51.97 kB / 0.5666 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.01256, allocations: 0 / 0.5666 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.375e-05/0.01263, allocations: 23.83 kB / 0.5666 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.01263, allocations: 7.938 kB / 0.5666 GB, free: 4.504 MB / 490.7 MB 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 8.742e-05/0.01272, allocations: 168.5 kB / 0.5668 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.01276, allocations: 39.77 kB / 0.5668 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.01281, allocations: 35.41 kB / 0.5669 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01281, allocations: 4 kB / 0.5669 GB, free: 4.246 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.01281, allocations: 0 / 0.5669 GB, free: 4.246 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01281, allocations: 0 / 0.5669 GB, free: 4.246 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.01307, allocations: 316.3 kB / 0.5672 GB, free: 3.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01307, allocations: 0 / 0.5672 GB, free: 3.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.0132, allocations: 59.91 kB / 0.5672 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.0132, allocations: 4 kB / 0.5672 GB, free: 3.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.01322, allocations: 4 kB / 0.5672 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.01322, allocations: 0 / 0.5672 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01322, allocations: 0 / 0.5672 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.01349, allocations: 330.6 kB / 0.5676 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.01353, allocations: 39.75 kB / 0.5676 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.01356, allocations: 4 kB / 0.5676 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.01362, allocations: 4 kB / 0.5676 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.01366, allocations: 15.97 kB / 0.5676 GB, free: 3.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.01367, allocations: 8.031 kB / 0.5676 GB, free: 3.426 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.01385, allocations: 287.1 kB / 0.5679 GB, free: 3.152 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01385, allocations: 0 / 0.5679 GB, free: 3.152 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000194/0.01404, allocations: 83.77 kB / 0.568 GB, free: 3.07 MB / 490.7 MB 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 7.748e-05/0.01412, allocations: 103.2 kB / 0.5681 GB, free: 2.961 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.01427, allocations: 87.58 kB / 0.5682 GB, free: 2.871 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01427, allocations: 0 / 0.5682 GB, free: 2.871 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/0.01433, allocations: 55.61 kB / 0.5682 GB, free: 2.812 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.01467, allocations: 88.58 kB / 0.5683 GB, free: 2.727 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.01559, allocations: 0.6482 MB / 0.5689 GB, free: 2.047 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.01565, allocations: 104.3 kB / 0.569 GB, free: 1.926 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.172e-05/0.01572, allocations: 26.97 kB / 0.5691 GB, free: 1.902 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.01577, allocations: 20.5 kB / 0.5691 GB, free: 1.883 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01577, allocations: 4 kB / 0.5691 GB, free: 1.879 MB / 490.7 MB Notification: Performance of Templates: time 0.006061/0.02183, allocations: 3.882 MB / 0.5729 GB, free: 14.12 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.509093708358705]