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.0008961/0.0008961, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.0008799/0.0008799, allocations: 177 kB / 23.36 MB, free: 1.137 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.8949/0.8949, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.002507/0.002507, allocations: 238 kB / 260.5 MB, free: 12.71 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.6647/0.6647, allocations: 138.4 MB / 402.2 MB, free: 0.543 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.883e-06/1.883e-06, allocations: 0 / 462.4 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.609e-05, allocations: 5.25 kB / 462.4 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004715/0.004741, allocations: 3.07 MB / 465.4 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.0081, allocations: 2.162 MB / 467.6 MB, free: 13.37 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.008287, allocations: 4.562 kB / 467.6 MB, free: 13.36 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.00967, allocations: 476.1 kB / 468.1 MB, free: 12.9 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.01001, allocations: 156 kB / 468.2 MB, free: 12.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.01015, allocations: 65.27 kB / 468.3 MB, free: 12.69 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.01063, allocations: 470.4 kB / 468.7 MB, free: 12.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.01084, allocations: 100.5 kB / 468.8 MB, free: 12.13 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.01122, allocations: 248.5 kB / 469.1 MB, free: 11.89 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.01144, allocations: 135.6 kB / 469.2 MB, free: 11.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.01149, allocations: 40.88 kB / 469.3 MB, free: 11.71 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.01155, allocations: 36 kB / 469.3 MB, free: 11.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.01166, allocations: 99.66 kB / 469.4 MB, free: 11.58 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.01181, allocations: 144.4 kB / 469.5 MB, free: 11.44 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.01218, allocations: 290.9 kB / 469.8 MB, free: 11.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.01218, allocations: 1.031 kB / 469.8 MB, free: 11.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01218, allocations: 3.938 kB / 469.8 MB, free: 11.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.01218, allocations: 0 / 469.8 MB, free: 11.15 MB / 426.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.0008303/0.01302, allocations: 0.5971 MB / 470.4 MB, free: 10.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.01305, allocations: 12.03 kB / 470.4 MB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.011e-05/0.01313, allocations: 45.52 kB / 470.5 MB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.01349, allocations: 260.8 kB / 470.7 MB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.01351, allocations: 12.88 kB / 470.7 MB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.01356, allocations: 25.03 kB / 470.8 MB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.01381, allocations: 151.1 kB / 470.9 MB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.01382, allocations: 192 / 470.9 MB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.01384, allocations: 8.312 kB / 470.9 MB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.01385, allocations: 14.12 kB / 470.9 MB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.01399, allocations: 58.73 kB / 471 MB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.01475, allocations: 442.3 kB / 471.4 MB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.01491, allocations: 84.8 kB / 471.5 MB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.01499, allocations: 54.95 kB / 471.6 MB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.015, allocations: 4 kB / 471.6 MB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.01502, allocations: 34.56 kB / 471.6 MB, free: 9.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.01503, allocations: 0 / 471.6 MB, free: 9.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002373/0.01526, allocations: 118.9 kB / 471.7 MB, free: 9.191 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.0153, allocations: 55.41 kB / 471.8 MB, free: 9.125 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.01559, allocations: 307.4 kB / 472.1 MB, free: 8.812 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.01561, allocations: 30.23 kB / 472.1 MB, free: 8.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.01569, allocations: 161.4 kB / 472.3 MB, free: 8.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.01575, allocations: 68.83 kB / 472.3 MB, free: 8.551 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.01581, allocations: 33.69 kB / 472.4 MB, free: 8.512 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.01592, allocations: 358.7 kB / 472.7 MB, free: 8.152 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.004e-05/0.01596, allocations: 14.06 kB / 472.7 MB, free: 8.141 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.016, allocations: 23.52 kB / 472.7 MB, free: 8.121 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.211e-05/0.01609, allocations: 54.44 kB / 472.8 MB, free: 8.066 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.0161, allocations: 0 / 472.8 MB, free: 8.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001591/0.01626, allocations: 101.6 kB / 472.9 MB, free: 7.961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01627, allocations: 5.719 kB / 472.9 MB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.01627, allocations: 0 / 472.9 MB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01629, allocations: 6.047 kB / 472.9 MB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.01649, allocations: 51.97 kB / 473 MB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.01649, allocations: 0.7031 kB / 473 MB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01659, allocations: 16.97 kB / 473 MB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.0166, allocations: 8 kB / 473 MB, free: 7.879 MB / 426.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 9.767e-05/0.0167, allocations: 121.7 kB / 473.1 MB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.01675, allocations: 23.98 kB / 473.1 MB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.382e-05/0.01682, allocations: 43.39 kB / 473.2 MB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.01682, allocations: 0.625 kB / 473.2 MB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.01682, allocations: 0.5 kB / 473.2 MB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01683, allocations: 2.344 kB / 473.2 MB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.0171, allocations: 191.1 kB / 473.4 MB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.0171, allocations: 4.5 kB / 473.4 MB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.01731, allocations: 51.91 kB / 473.4 MB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01732, allocations: 2.531 kB / 473.4 MB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.01733, allocations: 4 kB / 473.4 MB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01734, allocations: 0.5 kB / 473.4 MB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01734, allocations: 7.938 kB / 473.4 MB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.01761, allocations: 228.8 kB / 473.7 MB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.01767, allocations: 35.7 kB / 473.7 MB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.01771, allocations: 5.312 kB / 473.7 MB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.01784, allocations: 4 kB / 473.7 MB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.01788, allocations: 12.72 kB / 473.7 MB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.01789, allocations: 8 kB / 473.7 MB, free: 7.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.01805, allocations: 133.5 kB / 473.8 MB, free: 6.984 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01805, allocations: 0 / 473.8 MB, free: 6.984 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.01834, allocations: 78.81 kB / 473.9 MB, free: 6.91 MB / 426.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 0.0001049/0.01845, allocations: 88.91 kB / 474 MB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.01859, allocations: 66.95 kB / 474.1 MB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.0186, allocations: 4 kB / 474.1 MB, free: 6.746 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.01867, allocations: 44.78 kB / 474.1 MB, free: 6.699 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.01907, allocations: 88.83 kB / 474.2 MB, free: 6.617 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.02025, allocations: 0.6421 MB / 474.9 MB, free: 5.977 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.921e-05/0.02033, allocations: 96.3 kB / 474.9 MB, free: 5.863 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.02045, allocations: 32.53 kB / 475 MB, free: 5.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.02064, allocations: 115.3 kB / 475.1 MB, free: 5.723 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02064, allocations: 0.9688 kB / 475.1 MB, free: 5.723 MB / 426.7 MB Notification: Performance of Templates: time 0.007177/0.02782, allocations: 3.919 MB / 479 MB, free: 2.23 MB / 426.7 MB " [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.3138658269308507]