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.0008748/0.0008748, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008161/0.0008161, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8591/0.8591, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.5465/0.5465, allocations: 114 MB / 374.7 MB, free: 8.711 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 2.675e-06/2.675e-06, allocations: 0 / 0.5555 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.676e-05, allocations: 2.281 kB / 0.5555 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003665/0.003691, allocations: 3.791 MB / 0.5592 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.00608, allocations: 2.222 MB / 0.5614 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.006325, allocations: 12 kB / 0.5614 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.007543, allocations: 0.5238 MB / 0.5619 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.007851, allocations: 253.8 kB / 0.5621 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.008014, allocations: 143.8 kB / 0.5623 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006156/0.008629, allocations: 0.8366 MB / 0.5631 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.008924, allocations: 219 kB / 0.5633 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004975/0.009422, allocations: 470.9 kB / 0.5637 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.009664, allocations: 239.3 kB / 0.564 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.009722, allocations: 72 kB / 0.564 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.814e-05/0.00979, allocations: 76 kB / 0.5641 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.009917, allocations: 175.4 kB / 0.5643 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.01009, allocations: 263.4 kB / 0.5645 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006777/0.01077, allocations: 0.9969 MB / 0.5655 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.01077, allocations: 0 / 0.5655 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/0.01078, allocations: 0 / 0.5655 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.01079, allocations: 0 / 0.5655 GB, free: 7.934 MB / 0.5261 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.0009812/0.01177, allocations: 0.886 MB / 0.5664 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.01181, allocations: 8.625 kB / 0.5664 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.01189, allocations: 76.47 kB / 0.5664 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.01236, allocations: 399.5 kB / 0.5668 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.01239, allocations: 41.36 kB / 0.5669 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.01245, allocations: 44.38 kB / 0.5669 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.01294, allocations: 442.5 kB / 0.5673 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.01295, allocations: 3.953 kB / 0.5673 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.01298, allocations: 20 kB / 0.5673 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.01299, allocations: 12 kB / 0.5674 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.01344, allocations: 359.8 kB / 0.5677 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.01469, allocations: 1.168 MB / 0.5688 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.01503, allocations: 311.4 kB / 0.5691 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.01534, allocations: 285.5 kB / 0.5694 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.01536, allocations: 11.78 kB / 0.5694 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.01538, allocations: 38.5 kB / 0.5695 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.01539, allocations: 0 / 0.5695 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.0006039/0.01599, allocations: 494.6 kB / 0.5699 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.01602, allocations: 59.34 kB / 0.57 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.01637, allocations: 438 kB / 0.5704 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01639, allocations: 37.7 kB / 0.5704 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.01652, allocations: 284.4 kB / 0.5707 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/0.01661, allocations: 154.6 kB / 0.5709 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.01667, allocations: 62.08 kB / 0.5709 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.01678, allocations: 358.7 kB / 0.5713 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.01693, allocations: 120.7 kB / 0.5714 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.01707, allocations: 129.4 kB / 0.5715 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.01739, allocations: 294.2 kB / 0.5718 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01739, allocations: 0 / 0.5718 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003916/0.01778, allocations: 384.6 kB / 0.5721 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.0178, allocations: 11.94 kB / 0.5722 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01781, allocations: 0 / 0.5722 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01782, allocations: 0 / 0.5722 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.0181, allocations: 131.8 kB / 0.5723 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01811, allocations: 4 kB / 0.5723 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.675e-05/0.0182, allocations: 31.83 kB / 0.5723 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.01822, allocations: 8 kB / 0.5723 GB, free: 0.7539 MB / 0.5261 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.0001501/0.01837, allocations: 197.8 kB / 0.5725 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.01841, allocations: 55.61 kB / 0.5726 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.055e-05/0.01848, allocations: 56.81 kB / 0.5726 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01849, allocations: 4 kB / 0.5726 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01849, allocations: 4 kB / 0.5726 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.0185, allocations: 3.984 kB / 0.5726 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.01885, allocations: 412.9 kB / 0.573 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01886, allocations: 0 / 0.573 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.01914, allocations: 127.8 kB / 0.5731 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.01914, allocations: 4 kB / 0.5731 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.01916, allocations: 11.94 kB / 0.5732 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01916, allocations: 4 kB / 0.5732 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01916, allocations: 0 / 0.5732 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006413/0.0198, allocations: 0.6433 MB / 0.5738 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.01986, allocations: 55.59 kB / 0.5738 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.01989, allocations: 19.92 kB / 0.5739 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.02, allocations: 12 kB / 0.5739 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.02005, allocations: 23.95 kB / 0.5739 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.02006, allocations: 12 kB / 0.5739 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002351/0.02029, allocations: 319.1 kB / 0.5742 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.02029, allocations: 0 / 0.5742 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002692/0.02056, allocations: 151.7 kB / 0.5744 GB, free: 14.61 MB / 0.5417 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.0001485/0.02071, allocations: 111.2 kB / 0.5745 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.0211, allocations: 303.5 kB / 0.5748 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0211, allocations: 0 / 0.5748 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.02127, allocations: 171.5 kB / 0.5749 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.02166, allocations: 102 kB / 0.575 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.02291, allocations: 1.112 MB / 0.5761 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.02311, allocations: 275 kB / 0.5764 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.0232, allocations: 36.5 kB / 0.5764 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of SimCode: time 7.42e-07/0.0232, allocations: 0 / 0.5764 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of Templates: time 0.006795/0.02999, allocations: 6.713 MB / 0.583 GB, free: 5.793 MB / 0.5417 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: 5.217684921808541] Failed to read output from testmodel.py, exit status != 0: 0.03632426541298628 0.045122229 0.032659709 Calling exit ...