Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001435/0.001435, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001754/0.001754, allocations: 217.9 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002648/0.002648, allocations: 299.9 kB / 313.5 MB, free: 2.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.253/1.253, allocations: 180.6 MB / 0.5377 GB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002861/0.002861, allocations: 98.02 kB / 0.7409 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1876, allocations: 95.39 MB / 0.834 GB, free: 8.172 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004623/0.1923, allocations: 3.088 MB / 0.837 GB, free: 5.066 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002918/0.1952, allocations: 2.187 MB / 0.8392 GB, free: 2.867 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.1954, allocations: 7.938 kB / 0.8392 GB, free: 2.859 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.1967, allocations: 0.5005 MB / 0.8397 GB, free: 2.359 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.1969, allocations: 154.9 kB / 0.8398 GB, free: 2.207 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.1971, allocations: 59.88 kB / 0.8399 GB, free: 2.148 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.1976, allocations: 453.8 kB / 0.8403 GB, free: 1.703 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1978, allocations: 103.8 kB / 0.8404 GB, free: 1.598 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.198, allocations: 163.4 kB / 0.8405 GB, free: 1.438 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.1983, allocations: 183.2 kB / 0.8407 GB, free: 1.258 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.1983, allocations: 36 kB / 0.8408 GB, free: 1.223 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 5.901e-05/0.1984, allocations: 36 kB / 0.8408 GB, free: 1.188 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1985, allocations: 103.5 kB / 0.8409 GB, free: 1.086 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.1987, allocations: 215 kB / 0.8411 GB, free: 0.875 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.1993, allocations: 0.5486 MB / 0.8416 GB, free: 332 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1993, allocations: 0 / 0.8416 GB, free: 332 kB / 0.5763 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1993, allocations: 0 / 0.8416 GB, free: 332 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.1993, allocations: 0 / 0.8416 GB, free: 332 kB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001072/0.2004, allocations: 0.6445 MB / 0.8423 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2004, allocations: 8.625 kB / 0.8423 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.2005, allocations: 52.61 kB / 0.8423 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.201, allocations: 312.7 kB / 0.8426 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.201, allocations: 16.81 kB / 0.8426 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.2011, allocations: 24.38 kB / 0.8427 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.2015, allocations: 211.6 kB / 0.8429 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2015, allocations: 0 / 0.8429 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.2015, allocations: 4 kB / 0.8429 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.2015, allocations: 8 kB / 0.8429 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.2019, allocations: 165.6 kB / 0.843 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.2031, allocations: 0.8316 MB / 0.8438 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2034, allocations: 150.5 kB / 0.844 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.2036, allocations: 104.8 kB / 0.8441 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.2036, allocations: 4 kB / 0.8441 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2037, allocations: 30.56 kB / 0.8441 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.2037, allocations: 0 / 0.8441 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.000598/0.2043, allocations: 259.4 kB / 0.8444 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2043, allocations: 55.41 kB / 0.8444 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.2048, allocations: 429.6 kB / 0.8448 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.2048, allocations: 25.7 kB / 0.8448 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.205, allocations: 204.5 kB / 0.845 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.2051, allocations: 67.42 kB / 0.8451 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.2051, allocations: 25.72 kB / 0.8451 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2053, allocations: 350.8 kB / 0.8455 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.2054, allocations: 55.97 kB / 0.8455 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2056, allocations: 66.5 kB / 0.8456 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.2058, allocations: 128.8 kB / 0.8457 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2058, allocations: 0 / 0.8457 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003805/0.2062, allocations: 216.3 kB / 0.8459 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2062, allocations: 4 kB / 0.8459 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2062, allocations: 3.938 kB / 0.8459 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2063, allocations: 3.938 kB / 0.8459 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.2065, allocations: 63.89 kB / 0.846 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2065, allocations: 0 / 0.846 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.2066, allocations: 19.89 kB / 0.846 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2066, allocations: 4 kB / 0.846 GB, free: 11.64 MB / 0.5919 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 (20): * Single equations (assignments): 20 * 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.0001609/0.2068, allocations: 166.4 kB / 0.8462 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.2069, allocations: 35.77 kB / 0.8462 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.03e-05/0.2069, allocations: 43.47 kB / 0.8462 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.207, allocations: 4 kB / 0.8462 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.207, allocations: 3.984 kB / 0.8462 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.207, allocations: 0 / 0.8462 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.2074, allocations: 348.5 kB / 0.8466 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2074, allocations: 0 / 0.8466 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.2076, allocations: 51.95 kB / 0.8466 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.2076, allocations: 3.984 kB / 0.8466 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.2077, allocations: 11.94 kB / 0.8466 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2077, allocations: 3.938 kB / 0.8466 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2077, allocations: 0 / 0.8466 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005994/0.2083, allocations: 375.1 kB / 0.847 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.2083, allocations: 51.72 kB / 0.8471 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.2084, allocations: 7.938 kB / 0.8471 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.2085, allocations: 7.984 kB / 0.8471 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.2086, allocations: 15.97 kB / 0.8471 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2086, allocations: 8.062 kB / 0.8471 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003316/0.2089, allocations: 303.2 kB / 0.8474 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2089, allocations: 0 / 0.8474 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000293/0.2092, allocations: 75.84 kB / 0.8475 GB, free: 10.08 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001347/0.2093, allocations: 107.2 kB / 0.8476 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.2097, allocations: 134 kB / 0.8477 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2097, allocations: 4 kB / 0.8477 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.2099, allocations: 75.91 kB / 0.8478 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.2104, allocations: 91.91 kB / 0.8478 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2117, allocations: 0.7948 MB / 0.8486 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.2121, allocations: 0.7912 MB / 0.8494 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.2122, allocations: 23.44 kB / 0.8494 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.2122, allocations: 8 kB / 0.8494 GB, free: 8 MB / 0.5919 GB Notification: Performance of Templates: time 0.006902/0.2191, allocations: 4.427 MB / 0.8538 GB, free: 3.613 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.987246699864045] Failed to read output from testmodel.py, exit status != 0: 0.2265872920397669 0.241173726 0.03889345 Calling exit ...