Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.000913/0.000913, allocations: 88.23 kB / 20.46 MB, free: 4.109 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.002017/0.002017, allocations: 165 kB / 23.83 MB, free: 0.7422 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.8909/0.8909, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5494/0.5494, allocations: 110.2 MB / 371 MB, free: 12.52 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0.9844 kB / 475.3 MB, free: 15.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.25e-05, allocations: 2.312 kB / 475.3 MB, free: 15.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.002928/0.002941, allocations: 4.265 MB / 479.5 MB, free: 12.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.00483, allocations: 2.427 MB / 482 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.005006, allocations: 9.938 kB / 482 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009919/0.005998, allocations: 0.4915 MB / 482.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.006236, allocations: 266.1 kB / 482.7 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.006364, allocations: 142.1 kB / 482.9 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.006844, allocations: 0.8539 MB / 483.7 MB, free: 9.809 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.007086, allocations: 214.5 kB / 483.9 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.00746, allocations: 459.5 kB / 484.4 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.007711, allocations: 250.6 kB / 484.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.007785, allocations: 75.44 kB / 484.7 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.845e-05/0.007873, allocations: 73.56 kB / 484.8 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-05/0.007973, allocations: 171.4 kB / 484.9 MB, free: 9.305 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.008153, allocations: 274.3 kB / 485.2 MB, free: 9.184 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.008523, allocations: 0.5026 MB / 485.7 MB, free: 8.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.008526, allocations: 0.75 kB / 485.7 MB, free: 8.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.008527, allocations: 3.938 kB / 485.7 MB, free: 8.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.008533, allocations: 2.344 kB / 485.7 MB, free: 8.922 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.0008553/0.009388, allocations: 0.9999 MB / 486.7 MB, free: 8.191 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.009423, allocations: 9.719 kB / 486.7 MB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.009539, allocations: 119.1 kB / 486.8 MB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.00989, allocations: 388.1 kB / 487.2 MB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.009915, allocations: 36.66 kB / 487.2 MB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.009969, allocations: 48.25 kB / 487.3 MB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.01036, allocations: 313.4 kB / 487.6 MB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.01037, allocations: 192 / 487.6 MB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.0104, allocations: 16.28 kB / 487.6 MB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.01041, allocations: 16.31 kB / 487.6 MB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.0107, allocations: 190.7 kB / 487.8 MB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.01192, allocations: 1.223 MB / 489 MB, free: 22.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.01217, allocations: 208.2 kB / 489.2 MB, free: 22.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.01239, allocations: 192.2 kB / 489.4 MB, free: 22.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.01241, allocations: 12.91 kB / 489.4 MB, free: 22.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.01243, allocations: 39.95 kB / 489.5 MB, free: 22.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 1.733e-06/0.01243, allocations: 2.75 kB / 489.5 MB, free: 22.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004587/0.01289, allocations: 329.7 kB / 489.8 MB, free: 22.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.01291, allocations: 61.19 kB / 489.9 MB, free: 22.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.01323, allocations: 480.7 kB / 490.3 MB, free: 22.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.01325, allocations: 30.89 kB / 490.4 MB, free: 22.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.01337, allocations: 350.2 kB / 490.7 MB, free: 21.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.01344, allocations: 153.8 kB / 490.9 MB, free: 21.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.01349, allocations: 63.98 kB / 490.9 MB, free: 21.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.01364, allocations: 0.5473 MB / 491.5 MB, free: 21.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.01373, allocations: 58.86 kB / 491.5 MB, free: 21.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.01381, allocations: 62.36 kB / 491.6 MB, free: 21.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.01401, allocations: 167.1 kB / 491.7 MB, free: 21.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01401, allocations: 1.438 kB / 491.7 MB, free: 21.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002838/0.01429, allocations: 277.8 kB / 492 MB, free: 21.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.0143, allocations: 5.281 kB / 492 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.01431, allocations: 0.7812 kB / 492 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01432, allocations: 2.984 kB / 492 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.01461, allocations: 129.9 kB / 492.2 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01462, allocations: 1.344 kB / 492.2 MB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.87e-05/0.01471, allocations: 26.12 kB / 492.2 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.01472, allocations: 13.06 kB / 492.2 MB, free: 21.07 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.0001001/0.01482, allocations: 176.9 kB / 492.4 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.01488, allocations: 60.3 kB / 492.4 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.01493, allocations: 63.58 kB / 492.5 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.01493, allocations: 8.562 kB / 492.5 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01494, allocations: 5.125 kB / 492.5 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01494, allocations: 0 / 492.5 MB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.01526, allocations: 423.1 kB / 492.9 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01526, allocations: 3.469 kB / 492.9 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.01553, allocations: 124.2 kB / 493 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01553, allocations: 3.562 kB / 493 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.01555, allocations: 10.38 kB / 493 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01556, allocations: 1.031 kB / 493.1 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01556, allocations: 2.719 kB / 493.1 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.016, allocations: 0.5056 MB / 493.6 MB, free: 20.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.01605, allocations: 53.28 kB / 493.6 MB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.01608, allocations: 10.16 kB / 493.6 MB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.01617, allocations: 13.81 kB / 493.6 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.01621, allocations: 33.86 kB / 493.7 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.01622, allocations: 11.75 kB / 493.7 MB, free: 20.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.01643, allocations: 313.5 kB / 494 MB, free: 20 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01643, allocations: 0 / 494 MB, free: 20 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.01668, allocations: 149.3 kB / 494.1 MB, free: 19.97 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.626e-05/0.01676, allocations: 113.5 kB / 494.2 MB, free: 19.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.01701, allocations: 197.1 kB / 494.4 MB, free: 19.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.01701, allocations: 1.469 kB / 494.4 MB, free: 19.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.01713, allocations: 126.5 kB / 494.6 MB, free: 19.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.01748, allocations: 107.5 kB / 494.7 MB, free: 19.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.01864, allocations: 1.032 MB / 495.7 MB, free: 19.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.325e-05/0.0187, allocations: 129.4 kB / 495.8 MB, free: 19.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.725e-05/0.0188, allocations: 48.59 kB / 495.9 MB, free: 19.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.01887, allocations: 35.03 kB / 495.9 MB, free: 19.09 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01887, allocations: 0 / 495.9 MB, free: 19.09 MB / 426.7 MB Notification: Performance of Templates: time 0.007193/0.02606, allocations: 5.25 MB / 0.4894 GB, free: 18.44 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.179394457023591]