Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.000845/0.000845, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.0008858/0.0008858, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.9016/0.9016, allocations: 177.2 MB / 204.6 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5692/0.5692, allocations: 115 MB / 376 MB, free: 7.457 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 428.8 MB, free: 2.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.524e-05, allocations: 2.312 kB / 428.8 MB, free: 2.699 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00347/0.003485, allocations: 4.133 MB / 432.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.005761, allocations: 2.456 MB / 435.4 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.005925, allocations: 15.94 kB / 435.4 MB, free: 12.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000953/0.006878, allocations: 0.5284 MB / 435.9 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.007346, allocations: 253.8 kB / 436.2 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.007493, allocations: 139.8 kB / 436.3 MB, free: 11.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005057/0.007999, allocations: 0.8405 MB / 437.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.008248, allocations: 229 kB / 437.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.008625, allocations: 467 kB / 437.8 MB, free: 9.609 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.008849, allocations: 247.3 kB / 438.1 MB, free: 9.367 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/0.008906, allocations: 76 kB / 438.1 MB, free: 9.293 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.195e-05/0.008968, allocations: 72 kB / 438.2 MB, free: 9.223 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.009083, allocations: 179.4 kB / 438.4 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.009251, allocations: 267.3 kB / 438.6 MB, free: 8.785 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.009604, allocations: 0.5022 MB / 439.2 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.009606, allocations: 0 / 439.2 MB, free: 8.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.009606, allocations: 0 / 439.2 MB, free: 8.281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.009611, allocations: 4 kB / 439.2 MB, free: 8.277 MB / 410.7 MB 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.0007336/0.01034, allocations: 0.8611 MB / 440 MB, free: 7.391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.01038, allocations: 8.031 kB / 440 MB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.01045, allocations: 88.86 kB / 440.1 MB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.01072, allocations: 279.6 kB / 440.4 MB, free: 6.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.01074, allocations: 37.38 kB / 440.4 MB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.01078, allocations: 48.38 kB / 440.5 MB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.01105, allocations: 291.2 kB / 440.8 MB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01106, allocations: 15.89 kB / 440.8 MB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.01108, allocations: 23.92 kB / 440.8 MB, free: 6.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.01109, allocations: 12 kB / 440.8 MB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.01125, allocations: 130.9 kB / 440.9 MB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008722/0.01212, allocations: 0.8493 MB / 441.8 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.01229, allocations: 167.2 kB / 441.9 MB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.01244, allocations: 164.5 kB / 442.1 MB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.01245, allocations: 4.688 kB / 442.1 MB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.01247, allocations: 34.56 kB / 442.1 MB, free: 5.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.343e-06/0.01248, allocations: 0 / 442.1 MB, free: 5.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002501/0.01273, allocations: 230.1 kB / 442.4 MB, free: 4.957 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.01275, allocations: 63.34 kB / 442.4 MB, free: 4.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.01295, allocations: 339.4 kB / 442.8 MB, free: 4.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.01297, allocations: 29.7 kB / 442.8 MB, free: 4.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.01305, allocations: 237.4 kB / 443 MB, free: 4.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.01336, allocations: 146.7 kB / 443.2 MB, free: 4.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.01342, allocations: 62.05 kB / 443.2 MB, free: 4.055 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.01351, allocations: 362.7 kB / 443.6 MB, free: 3.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.01355, allocations: 40.73 kB / 443.6 MB, free: 3.652 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.0136, allocations: 41.23 kB / 443.7 MB, free: 3.613 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.01372, allocations: 130.4 kB / 443.8 MB, free: 3.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01372, allocations: 4 kB / 443.8 MB, free: 3.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001663/0.01388, allocations: 193 kB / 444 MB, free: 3.285 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.0139, allocations: 8 kB / 444 MB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.0139, allocations: 0 / 444 MB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.01391, allocations: 3.938 kB / 444 MB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.01415, allocations: 123.9 kB / 444.1 MB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.01416, allocations: 7.938 kB / 444.1 MB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/0.01423, allocations: 19.84 kB / 444.1 MB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01424, allocations: 12 kB / 444.2 MB, free: 3.113 MB / 410.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 (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 9.129e-05/0.01434, allocations: 132.6 kB / 444.3 MB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.01438, allocations: 39.95 kB / 444.3 MB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.01443, allocations: 52.81 kB / 444.4 MB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01443, allocations: 11.94 kB / 444.4 MB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01444, allocations: 0 / 444.4 MB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01444, allocations: 3.984 kB / 444.4 MB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.01469, allocations: 293.4 kB / 444.7 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.0147, allocations: 0 / 444.7 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.01493, allocations: 119.9 kB / 444.8 MB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01493, allocations: 8 kB / 444.8 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.01495, allocations: 11.98 kB / 444.8 MB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.01495, allocations: 4 kB / 444.8 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01495, allocations: 0 / 444.8 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.01523, allocations: 366.9 kB / 445.2 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.01528, allocations: 43.61 kB / 445.2 MB, free: 2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.0153, allocations: 8 kB / 445.2 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.01539, allocations: 15.98 kB / 445.2 MB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.01543, allocations: 23.89 kB / 445.3 MB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.01543, allocations: 8 kB / 445.3 MB, free: 1.945 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.01554, allocations: 156.7 kB / 445.4 MB, free: 1.793 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01554, allocations: 0 / 445.4 MB, free: 1.793 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.01574, allocations: 147.7 kB / 445.6 MB, free: 1.648 MB / 410.7 MB 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 8.053e-05/0.01582, allocations: 92.36 kB / 445.7 MB, free: 1.551 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.01598, allocations: 160.6 kB / 445.8 MB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.01599, allocations: 4 kB / 445.8 MB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.01607, allocations: 108.8 kB / 445.9 MB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.01634, allocations: 96.48 kB / 446 MB, free: 1.191 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.01738, allocations: 0.9673 MB / 447 MB, free: 192 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.01745, allocations: 129.6 kB / 447.1 MB, free: 44 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.1551/0.1726, allocations: 45.98 kB / 447.2 MB, free: 28.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.1728, allocations: 130.7 kB / 447.3 MB, free: 28.19 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1728, allocations: 0 / 447.3 MB, free: 28.19 MB / 410.7 MB Notification: Performance of Templates: time 0.00866/0.1815, allocations: 5.343 MB / 452.6 MB, free: 28.04 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.206360331736505]