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.0009073/0.0009073, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.0009138/0.0009138, allocations: 169 kB / 24.25 MB, free: 304 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.8865/0.8865, allocations: 177.2 MB / 204.6 MB, free: 5.621 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.5993/0.5993, allocations: 115 MB / 376 MB, free: 7.645 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.704e-06/1.704e-06, allocations: 0 / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.382e-05, allocations: 2.969 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003763/0.003787, allocations: 4.23 MB / 485.8 MB, free: 9.102 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.00585, allocations: 2.403 MB / 488.2 MB, free: 7.473 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.006029, allocations: 13 kB / 488.2 MB, free: 7.469 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.007032, allocations: 0.5197 MB / 488.8 MB, free: 7.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.00726, allocations: 255.2 kB / 489 MB, free: 7.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.007385, allocations: 145.8 kB / 489.1 MB, free: 6.977 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.007876, allocations: 0.8355 MB / 490 MB, free: 6.516 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.008121, allocations: 211 kB / 490.2 MB, free: 6.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/0.008508, allocations: 464.3 kB / 490.6 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.008735, allocations: 255.3 kB / 490.9 MB, free: 6.129 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.008801, allocations: 73.81 kB / 491 MB, free: 6.129 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.94e-05/0.00888, allocations: 74.22 kB / 491 MB, free: 6.129 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.008985, allocations: 177.9 kB / 491.2 MB, free: 6.008 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.009168, allocations: 265.4 kB / 491.5 MB, free: 5.895 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.009546, allocations: 0.5022 MB / 492 MB, free: 5.637 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.009548, allocations: 2.125 kB / 492 MB, free: 5.637 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.009549, allocations: 0 / 492 MB, free: 5.637 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.009556, allocations: 1.031 kB / 492 MB, free: 5.637 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.0008491/0.01041, allocations: 1.007 MB / 493 MB, free: 4.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.01044, allocations: 10.09 kB / 493 MB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.01055, allocations: 115.2 kB / 493.1 MB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.0109, allocations: 383.6 kB / 493.5 MB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.01092, allocations: 37.91 kB / 493.5 MB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.01098, allocations: 51.72 kB / 493.6 MB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.01136, allocations: 312.1 kB / 493.9 MB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.01138, allocations: 1.25 kB / 493.9 MB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.0114, allocations: 19.84 kB / 493.9 MB, free: 4.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.01142, allocations: 13 kB / 493.9 MB, free: 4.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.01171, allocations: 193.1 kB / 494.1 MB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.01284, allocations: 1.2 MB / 495.3 MB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.0131, allocations: 210.6 kB / 495.5 MB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.01333, allocations: 191.2 kB / 495.7 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.01335, allocations: 7.906 kB / 495.7 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.01336, allocations: 49.08 kB / 495.7 MB, free: 3.469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.583e-06/0.01336, allocations: 0 / 495.7 MB, free: 3.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004388/0.0138, allocations: 329.2 kB / 496.1 MB, free: 3.359 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.01382, allocations: 56.34 kB / 496.1 MB, free: 3.297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.01414, allocations: 480.7 kB / 496.6 MB, free: 3.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.01415, allocations: 33.05 kB / 496.6 MB, free: 2.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.01426, allocations: 348.9 kB / 497 MB, free: 2.711 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.01433, allocations: 150.1 kB / 497.1 MB, free: 2.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.01439, allocations: 66.36 kB / 497.2 MB, free: 2.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.01457, allocations: 0.5448 MB / 497.7 MB, free: 18.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/0.01466, allocations: 60.31 kB / 497.8 MB, free: 18.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.01475, allocations: 67.08 kB / 497.8 MB, free: 18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.01495, allocations: 166.9 kB / 498 MB, free: 17.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01495, allocations: 0 / 498 MB, free: 17.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002997/0.01525, allocations: 283.8 kB / 498.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01527, allocations: 8.781 kB / 498.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01527, allocations: 0 / 498.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.01528, allocations: 4.109 kB / 498.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.01557, allocations: 124.7 kB / 498.4 MB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01558, allocations: 6.219 kB / 498.4 MB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.966e-05/0.01567, allocations: 30.22 kB / 498.4 MB, free: 17.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01568, allocations: 7.844 kB / 498.5 MB, free: 17.78 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.0001025/0.01578, allocations: 172.7 kB / 498.6 MB, free: 17.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.01584, allocations: 66.78 kB / 498.7 MB, free: 17.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.01589, allocations: 57.11 kB / 498.7 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.0159, allocations: 4.312 kB / 498.7 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.0159, allocations: 1 kB / 498.7 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01591, allocations: 4.672 kB / 498.8 MB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.01623, allocations: 430.1 kB / 499.2 MB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01623, allocations: 1.062 kB / 499.2 MB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.01651, allocations: 123.2 kB / 499.3 MB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01651, allocations: 5.5 kB / 499.3 MB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.01654, allocations: 14.16 kB / 499.3 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01654, allocations: 2.469 kB / 499.3 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01654, allocations: 1.344 kB / 499.3 MB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.01699, allocations: 0.5012 MB / 499.8 MB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.01704, allocations: 58.06 kB / 499.9 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.01707, allocations: 14.25 kB / 499.9 MB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.01717, allocations: 9.625 kB / 499.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.01722, allocations: 28.12 kB / 499.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.01723, allocations: 11.12 kB / 499.9 MB, free: 16.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.01743, allocations: 310.5 kB / 0.4885 GB, free: 16.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01743, allocations: 0 / 0.4885 GB, free: 16.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.01768, allocations: 150.3 kB / 0.4887 GB, free: 16.69 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.704e-05/0.01776, allocations: 107.3 kB / 0.4888 GB, free: 16.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.01803, allocations: 200.5 kB / 0.489 GB, free: 16.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01803, allocations: 1.031 kB / 0.489 GB, free: 16.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01815, allocations: 126.7 kB / 0.4891 GB, free: 16.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.01851, allocations: 108.4 kB / 0.4892 GB, free: 16.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.01977, allocations: 1.036 MB / 0.4902 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.36e-05/0.01986, allocations: 125.8 kB / 0.4903 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.01996, allocations: 41.34 kB / 0.4903 GB, free: 15.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.02004, allocations: 37.91 kB / 0.4904 GB, free: 15.8 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02004, allocations: 0 / 0.4904 GB, free: 15.8 MB / 426.7 MB Notification: Performance of Templates: time 0.007912/0.02795, allocations: 4.995 MB / 0.4953 GB, free: 13.97 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.3060794689226896]