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.00094/0.00094, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.0008996/0.0008996, allocations: 169 kB / 24.05 MB, free: 460 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.9041/0.9041, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.5813/0.5813, allocations: 115 MB / 376 MB, free: 7.523 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 1.533e-06/1.533e-06, allocations: 0 / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.412e-05, allocations: 5.781 kB / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003402/0.003416, allocations: 4.135 MB / 486.2 MB, free: 8.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.005725, allocations: 2.385 MB / 488.6 MB, free: 7.344 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.006044, allocations: 11.94 kB / 488.6 MB, free: 7.344 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.007258, allocations: 0.5196 MB / 489.1 MB, free: 7.125 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.007557, allocations: 256.3 kB / 489.3 MB, free: 6.945 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.007718, allocations: 142.8 kB / 489.5 MB, free: 6.852 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.008354, allocations: 0.8385 MB / 490.3 MB, free: 6.387 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.008629, allocations: 213.1 kB / 490.5 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.009122, allocations: 467.1 kB / 491 MB, free: 6.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.009384, allocations: 251.2 kB / 491.2 MB, free: 6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-05/0.009462, allocations: 73.94 kB / 491.3 MB, free: 6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.009575, allocations: 74.03 kB / 491.4 MB, free: 6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.009679, allocations: 186.7 kB / 491.6 MB, free: 5.871 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.009867, allocations: 261.3 kB / 491.8 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.01028, allocations: 0.5021 MB / 492.3 MB, free: 5.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.01028, allocations: 1.906 kB / 492.3 MB, free: 5.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01028, allocations: 0 / 492.3 MB, free: 5.504 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.0103, allocations: 5.688 kB / 492.3 MB, free: 5.5 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.0008566/0.01115, allocations: 1.01 MB / 493.3 MB, free: 4.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.01119, allocations: 10.22 kB / 493.3 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.01132, allocations: 118.3 kB / 493.5 MB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.01166, allocations: 372.2 kB / 493.8 MB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.01169, allocations: 37.56 kB / 493.9 MB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.01174, allocations: 44.25 kB / 493.9 MB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.01204, allocations: 286.9 kB / 494.2 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.01205, allocations: 0 / 494.2 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.01207, allocations: 20.22 kB / 494.2 MB, free: 4.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.01208, allocations: 15.38 kB / 494.2 MB, free: 4.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.01227, allocations: 146.2 kB / 494.4 MB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.01335, allocations: 1.116 MB / 495.5 MB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.01354, allocations: 190.3 kB / 495.7 MB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.01372, allocations: 179 kB / 495.8 MB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.01373, allocations: 8.062 kB / 495.8 MB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.01375, allocations: 38.83 kB / 495.9 MB, free: 3.426 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.01375, allocations: 0.5625 kB / 495.9 MB, free: 3.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003357/0.01409, allocations: 296.5 kB / 496.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.01411, allocations: 58.73 kB / 496.2 MB, free: 3.266 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.01437, allocations: 458.4 kB / 496.7 MB, free: 3.012 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.01439, allocations: 36.58 kB / 496.7 MB, free: 2.973 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.01457, allocations: 361.8 kB / 497.1 MB, free: 18.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.01463, allocations: 144.7 kB / 497.2 MB, free: 18.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.0147, allocations: 69.09 kB / 497.3 MB, free: 18.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01485, allocations: 0.5497 MB / 497.8 MB, free: 17.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.01491, allocations: 44.33 kB / 497.9 MB, free: 17.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.01497, allocations: 49.55 kB / 497.9 MB, free: 17.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.01511, allocations: 140 kB / 498 MB, free: 17.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01511, allocations: 0 / 498 MB, free: 17.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002485/0.01536, allocations: 262 kB / 498.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01537, allocations: 5.203 kB / 498.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01538, allocations: 5.969 kB / 498.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.01539, allocations: 2.188 kB / 498.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.01566, allocations: 123.5 kB / 498.4 MB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01566, allocations: 2.438 kB / 498.4 MB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.01575, allocations: 26.44 kB / 498.5 MB, free: 17.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.01576, allocations: 9.375 kB / 498.5 MB, free: 17.79 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 (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.0001044/0.01587, allocations: 176.9 kB / 498.6 MB, free: 17.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.01592, allocations: 58.34 kB / 498.7 MB, free: 17.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.01598, allocations: 61.98 kB / 498.8 MB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01598, allocations: 5.438 kB / 498.8 MB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01599, allocations: 4 kB / 498.8 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01599, allocations: 5.172 kB / 498.8 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.0163, allocations: 338.4 kB / 499.1 MB, free: 17.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01631, allocations: 2.25 kB / 499.1 MB, free: 17.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.01657, allocations: 122.6 kB / 499.2 MB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01658, allocations: 4.266 kB / 499.2 MB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.01659, allocations: 11.12 kB / 499.2 MB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.0166, allocations: 1.156 kB / 499.2 MB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.0166, allocations: 9.984 kB / 499.3 MB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.01697, allocations: 472.6 kB / 499.7 MB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.01702, allocations: 58.16 kB / 499.8 MB, free: 16.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.01705, allocations: 9.5 kB / 499.8 MB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.01715, allocations: 8.312 kB / 499.8 MB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.01719, allocations: 32.33 kB / 499.8 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.0172, allocations: 9.312 kB / 499.8 MB, free: 16.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.01737, allocations: 287.9 kB / 0.4884 GB, free: 16.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01737, allocations: 2.094 kB / 0.4884 GB, free: 16.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.01764, allocations: 148.4 kB / 0.4885 GB, free: 16.77 MB / 426.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 7.587e-05/0.01772, allocations: 112.6 kB / 0.4886 GB, free: 16.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.01792, allocations: 177 kB / 0.4888 GB, free: 16.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01792, allocations: 2.781 kB / 0.4888 GB, free: 16.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.01801, allocations: 114.7 kB / 0.4889 GB, free: 16.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.01836, allocations: 108.3 kB / 0.489 GB, free: 16.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.01947, allocations: 1.026 MB / 0.49 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.914e-05/0.01954, allocations: 126.2 kB / 0.4901 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.01966, allocations: 44.28 kB / 0.4902 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.01983, allocations: 162.3 kB / 0.4903 GB, free: 15.84 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01983, allocations: 0 / 0.4903 GB, free: 15.84 MB / 426.7 MB Notification: Performance of Templates: time 0.008577/0.02841, allocations: 5.407 MB / 0.4956 GB, free: 13.7 MB / 426.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.2482143179513514]