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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 117.8 kB / 17.81 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 187.8 kB / 20.74 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.817/0.817, allocations: 128.4 MB / 432.4 MB, free: 13.3 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00189/0.00189, allocations: 63.91 kB / 0.5988 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4056, allocations: 83.27 MB / 0.6801 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004142/0.4097, allocations: 4.157 MB / 0.6841 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002953/0.4127, allocations: 2.417 MB / 0.6865 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.413, allocations: 14.34 kB / 0.6865 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.4145, allocations: 0.5533 MB / 0.6871 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.4149, allocations: 245.6 kB / 0.6873 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.4151, allocations: 138.3 kB / 0.6874 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006282/0.4157, allocations: 0.809 MB / 0.6882 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.416, allocations: 238 kB / 0.6884 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.4163, allocations: 303.7 kB / 0.6887 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.4166, allocations: 321 kB / 0.689 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.4166, allocations: 73.31 kB / 0.6891 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.4168, allocations: 82.53 kB / 0.6892 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.417, allocations: 171.2 kB / 0.6893 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.4173, allocations: 386.7 kB / 0.6897 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.4184, allocations: 0.9935 MB / 0.6907 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4184, allocations: 1.281 kB / 0.6907 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4184, allocations: 0 / 0.6907 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.4184, allocations: 0 / 0.6907 GB, free: 14.86 MB / 0.5137 GB 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.001537/0.4199, allocations: 0.9662 MB / 0.6916 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4199, allocations: 13.56 kB / 0.6916 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.4201, allocations: 76.22 kB / 0.6917 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/0.4208, allocations: 455.5 kB / 0.6922 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.4208, allocations: 37.47 kB / 0.6922 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.4209, allocations: 58.72 kB / 0.6922 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.4217, allocations: 422.8 kB / 0.6926 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.4217, allocations: 1.156 kB / 0.6926 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.4217, allocations: 23.31 kB / 0.6927 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.4217, allocations: 12.44 kB / 0.6927 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.4225, allocations: 367.7 kB / 0.693 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.4246, allocations: 1.517 MB / 0.6945 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.4252, allocations: 320.5 kB / 0.6948 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.4256, allocations: 283.9 kB / 0.6951 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.4257, allocations: 3.156 kB / 0.6951 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4257, allocations: 37.41 kB / 0.6951 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.4257, allocations: 0 / 0.6951 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009979/0.4267, allocations: 0.4931 MB / 0.6956 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.4268, allocations: 59.86 kB / 0.6957 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005849/0.4273, allocations: 484.7 kB / 0.6961 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.4274, allocations: 36.11 kB / 0.6962 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.4276, allocations: 278.6 kB / 0.6964 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.4277, allocations: 155.5 kB / 0.6966 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.4278, allocations: 66.59 kB / 0.6966 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.428, allocations: 362.4 kB / 0.697 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.4282, allocations: 117.3 kB / 0.6971 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.4285, allocations: 126.8 kB / 0.6972 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.429, allocations: 292 kB / 0.6975 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.429, allocations: 3.938 kB / 0.6975 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006787/0.4297, allocations: 410.2 kB / 0.6979 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4297, allocations: 11.42 kB / 0.6979 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4297, allocations: 0 / 0.6979 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4297, allocations: 3.312 kB / 0.6979 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.4302, allocations: 122.6 kB / 0.698 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4302, allocations: 1.625 kB / 0.698 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.4305, allocations: 34.08 kB / 0.6981 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.4305, allocations: 15.56 kB / 0.6981 GB, free: 9.617 MB / 0.5137 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 (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 0.0002189/0.4307, allocations: 200.4 kB / 0.6983 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.4308, allocations: 51.05 kB / 0.6983 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.4309, allocations: 67.42 kB / 0.6984 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.4309, allocations: 4 kB / 0.6984 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.431, allocations: 2.281 kB / 0.6984 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.431, allocations: 0 / 0.6984 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.4316, allocations: 0.5774 MB / 0.6989 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4316, allocations: 4 kB / 0.699 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.4321, allocations: 124.3 kB / 0.6991 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4321, allocations: 1.625 kB / 0.6991 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.4322, allocations: 6.656 kB / 0.6991 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.4322, allocations: 9.172 kB / 0.6991 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4322, allocations: 0 / 0.6991 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/0.4332, allocations: 0.6544 MB / 0.6997 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4333, allocations: 132 kB / 0.6999 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.4333, allocations: 13.95 kB / 0.6999 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.4336, allocations: 8.969 kB / 0.6999 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.4336, allocations: 26.81 kB / 0.6999 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.4336, allocations: 11.47 kB / 0.6999 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003846/0.434, allocations: 354.3 kB / 0.7002 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.434, allocations: 0 / 0.7002 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004203/0.4344, allocations: 149.9 kB / 0.7004 GB, free: 8.027 MB / 0.5137 GB 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 0.0001604/0.4346, allocations: 109.2 kB / 0.7005 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000581/0.4352, allocations: 308.8 kB / 0.7008 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4352, allocations: 5.094 kB / 0.7008 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.4355, allocations: 164.3 kB / 0.701 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.4361, allocations: 141.3 kB / 0.7011 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.438, allocations: 1.226 MB / 0.7023 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.4385, allocations: 0.8736 MB / 0.7031 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.4387, allocations: 37.66 kB / 0.7032 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.4387, allocations: 1.562 kB / 0.7032 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of Templates: time 0.01059/0.4492, allocations: 6.895 MB / 0.7099 GB, free: 264 kB / 0.5137 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.347715985029936] Failed to read output from testmodel.py, exit status != 0: 0.45735977101139724 0.4696544 0.048654238 Calling exit ...