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.0008514/0.0008514, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001128/0.001128, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.035/1.035, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.002755/0.002755, allocations: 256 kB / 260.5 MB, free: 12.7 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.7125/0.7125, allocations: 138.4 MB / 402.2 MB, free: 0.5742 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.213e-06/1.213e-06, allocations: 0 / 462.4 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.896e-05, allocations: 5.391 kB / 462.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003546/0.003565, allocations: 3.109 MB / 465.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.006223, allocations: 2.165 MB / 467.7 MB, free: 13.3 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.006442, allocations: 8 kB / 467.7 MB, free: 13.3 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.007543, allocations: 492.8 kB / 468.2 MB, free: 12.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.007806, allocations: 163.5 kB / 468.3 MB, free: 12.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.007917, allocations: 57.5 kB / 468.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.008316, allocations: 470.5 kB / 468.8 MB, free: 12.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.00848, allocations: 100.5 kB / 468.9 MB, free: 12.04 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.008768, allocations: 253 kB / 469.2 MB, free: 11.8 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.008935, allocations: 139.5 kB / 469.3 MB, free: 11.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.00897, allocations: 36 kB / 469.4 MB, free: 11.62 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.009008, allocations: 36 kB / 469.4 MB, free: 11.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.009089, allocations: 100.5 kB / 469.5 MB, free: 11.49 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.009188, allocations: 139.6 kB / 469.6 MB, free: 11.36 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.009456, allocations: 290.9 kB / 469.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.00946, allocations: 5.078 kB / 469.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009461, allocations: 0 / 469.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.009466, allocations: 0 / 469.9 MB, free: 11.07 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.0005919/0.01006, allocations: 0.5966 MB / 470.5 MB, free: 10.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.01009, allocations: 12.53 kB / 470.5 MB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.01014, allocations: 41.91 kB / 470.6 MB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.0104, allocations: 265.4 kB / 470.8 MB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.01041, allocations: 16.88 kB / 470.9 MB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.01044, allocations: 20.38 kB / 470.9 MB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.01061, allocations: 149.3 kB / 471 MB, free: 9.941 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.01063, allocations: 2.031 kB / 471 MB, free: 9.941 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.01064, allocations: 8.375 kB / 471 MB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.01065, allocations: 11.94 kB / 471 MB, free: 9.922 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.638e-05/0.01074, allocations: 57.98 kB / 471.1 MB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.01126, allocations: 444 kB / 471.5 MB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.01137, allocations: 89.67 kB / 471.6 MB, free: 9.324 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.01142, allocations: 50.02 kB / 471.7 MB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.01143, allocations: 4.531 kB / 471.7 MB, free: 9.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.01146, allocations: 38.56 kB / 471.7 MB, free: 9.223 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.01146, allocations: 2.219 kB / 471.7 MB, free: 9.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001683/0.01163, allocations: 111.3 kB / 471.8 MB, free: 9.109 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.01165, allocations: 59.34 kB / 471.9 MB, free: 9.039 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.01184, allocations: 311.4 kB / 472.2 MB, free: 8.723 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.01185, allocations: 25.7 kB / 472.2 MB, free: 8.691 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.01192, allocations: 166.6 kB / 472.4 MB, free: 8.527 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.01196, allocations: 67.42 kB / 472.4 MB, free: 8.461 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.012, allocations: 33.69 kB / 472.5 MB, free: 8.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.01208, allocations: 354.7 kB / 472.8 MB, free: 8.066 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.0121, allocations: 13.06 kB / 472.8 MB, free: 8.055 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.01213, allocations: 22.86 kB / 472.8 MB, free: 8.035 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.25e-05/0.01219, allocations: 56.8 kB / 472.9 MB, free: 7.977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01219, allocations: 1.469 kB / 472.9 MB, free: 7.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001033/0.0123, allocations: 98.41 kB / 473 MB, free: 7.875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.01231, allocations: 7.938 kB / 473 MB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.01231, allocations: 4.703 kB / 473 MB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.01232, allocations: 4 kB / 473 MB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.01255, allocations: 80.77 kB / 473.1 MB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.01256, allocations: 6.5 kB / 473.1 MB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.01261, allocations: 19.88 kB / 473.1 MB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.01262, allocations: 0 / 473.1 MB, free: 7.766 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 7.277e-05/0.01269, allocations: 125.4 kB / 473.2 MB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.01273, allocations: 24.88 kB / 473.3 MB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.01277, allocations: 35.41 kB / 473.3 MB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01277, allocations: 4.562 kB / 473.3 MB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01277, allocations: 3.938 kB / 473.3 MB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01278, allocations: 1.219 kB / 473.3 MB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.01295, allocations: 185.7 kB / 473.5 MB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01295, allocations: 0 / 473.5 MB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.01314, allocations: 79.94 kB / 473.6 MB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01314, allocations: 3.984 kB / 473.6 MB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01315, allocations: 3.938 kB / 473.6 MB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01315, allocations: 3.938 kB / 473.6 MB, free: 7.277 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01315, allocations: 14.55 kB / 473.6 MB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.01334, allocations: 224.9 kB / 473.8 MB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.01338, allocations: 35.69 kB / 473.9 MB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.0134, allocations: 11.94 kB / 473.9 MB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.01347, allocations: 4.5 kB / 473.9 MB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.0135, allocations: 11.97 kB / 473.9 MB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.01351, allocations: 4 kB / 473.9 MB, free: 6.965 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.729e-05/0.0136, allocations: 133.6 kB / 474 MB, free: 6.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0136, allocations: 0 / 474 MB, free: 6.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.01377, allocations: 76.62 kB / 474.1 MB, free: 6.766 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 9.038e-05/0.01387, allocations: 94.81 kB / 474.2 MB, free: 6.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.729e-05/0.01396, allocations: 59.08 kB / 474.2 MB, free: 6.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.01397, allocations: 7.938 kB / 474.2 MB, free: 6.602 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.01401, allocations: 50.62 kB / 474.3 MB, free: 6.551 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01429, allocations: 89.52 kB / 474.4 MB, free: 6.469 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/0.01513, allocations: 0.6389 MB / 475 MB, free: 5.832 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.01518, allocations: 97.52 kB / 475.1 MB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.243e-05/0.01526, allocations: 30.12 kB / 475.1 MB, free: 5.691 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.01541, allocations: 128 kB / 475.3 MB, free: 5.57 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01541, allocations: 0 / 475.3 MB, free: 5.57 MB / 426.7 MB Notification: Performance of Templates: time 0.006453/0.02187, allocations: 4.254 MB / 479.5 MB, free: 1.773 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 -s gbode -gbm=radauIIA3 -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.428863788023591]