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.0007504/0.0007504, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009931/0.001743, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000721/0.000721, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009426/0.001664, allocations: 479.5 kB / 11.83 MB, free: 2.34 MB / 13.93 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.8804/0.8804, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07846/0.9588, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.5538/0.5538, allocations: 110.3 MB / 354.5 MB, free: 12.29 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.05248/0.6063, allocations: 34.95 MB / 389.4 MB, free: 9.258 MB / 378.7 MB " [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.143e-06/1.143e-06, allocations: 0 / 390.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.315e-05, allocations: 2.312 kB / 390.8 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003576/0.00359, allocations: 4.223 MB / 395 MB, free: 3.641 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.005977, allocations: 2.471 MB / 397.5 MB, free: 1.156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.006159, allocations: 12 kB / 397.5 MB, free: 1.145 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000892/0.007051, allocations: 0.505 MB / 398 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.00734, allocations: 265.8 kB / 398.3 MB, free: 384 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.007489, allocations: 135.8 kB / 398.4 MB, free: 248 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007774/0.008267, allocations: 0.8523 MB / 399.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.008523, allocations: 221 kB / 399.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.009003, allocations: 0.5446 MB / 400 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.009239, allocations: 251.3 kB / 400.2 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.913e-05/0.009299, allocations: 76 kB / 400.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.431e-05/0.009373, allocations: 76 kB / 400.4 MB, free: 14.22 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.009473, allocations: 135.5 kB / 400.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.009627, allocations: 227.6 kB / 400.7 MB, free: 13.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.009997, allocations: 494.2 kB / 401.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.01001, allocations: 4 kB / 401.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01001, allocations: 0 / 401.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.01002, allocations: 0 / 401.2 MB, free: 13.38 MB / 394.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.0008607/0.01088, allocations: 1.001 MB / 402.2 MB, free: 12.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.01091, allocations: 8.031 kB / 402.2 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.51e-05/0.01099, allocations: 88.86 kB / 402.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.01129, allocations: 291.5 kB / 402.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.01131, allocations: 41.38 kB / 402.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.01136, allocations: 52.33 kB / 402.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.01164, allocations: 291.7 kB / 403 MB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.01165, allocations: 4.125 kB / 403 MB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.01167, allocations: 16.38 kB / 403 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.01168, allocations: 15.94 kB / 403 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.01184, allocations: 138.9 kB / 403.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009225/0.01276, allocations: 0.8571 MB / 404 MB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.01292, allocations: 163.3 kB / 404.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.01306, allocations: 156.5 kB / 404.3 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.01308, allocations: 12 kB / 404.3 MB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.0131, allocations: 43.25 kB / 404.4 MB, free: 10.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.764e-06/0.0131, allocations: 0 / 404.4 MB, free: 10.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002494/0.01335, allocations: 226.1 kB / 404.6 MB, free: 9.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.01338, allocations: 55.41 kB / 404.7 MB, free: 9.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.01358, allocations: 347.3 kB / 405 MB, free: 9.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.0136, allocations: 37.7 kB / 405 MB, free: 9.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.01368, allocations: 229.4 kB / 405.3 MB, free: 9.207 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.01375, allocations: 150.7 kB / 405.4 MB, free: 9.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.01381, allocations: 58.06 kB / 405.5 MB, free: 8.992 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.01389, allocations: 366.7 kB / 405.8 MB, free: 8.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.01394, allocations: 36.73 kB / 405.9 MB, free: 8.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.01398, allocations: 45.23 kB / 405.9 MB, free: 8.547 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.01433, allocations: 134.1 kB / 406 MB, free: 8.414 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01433, allocations: 0 / 406 MB, free: 8.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001702/0.0145, allocations: 181.3 kB / 406.2 MB, free: 8.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.01451, allocations: 8 kB / 406.2 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01451, allocations: 0 / 406.2 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.01452, allocations: 0 / 406.2 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.01494, allocations: 207.5 kB / 406.4 MB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01495, allocations: 7.938 kB / 406.4 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.01503, allocations: 27.78 kB / 406.5 MB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01504, allocations: 12 kB / 406.5 MB, free: 7.973 MB / 394.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 8.77e-05/0.01513, allocations: 140.5 kB / 406.6 MB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.01517, allocations: 39.97 kB / 406.6 MB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.01522, allocations: 48.88 kB / 406.7 MB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01523, allocations: 15.92 kB / 406.7 MB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01523, allocations: 0 / 406.7 MB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01523, allocations: 0 / 406.7 MB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.0155, allocations: 293.3 kB / 407 MB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.0155, allocations: 4 kB / 407 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.01587, allocations: 207.5 kB / 407.2 MB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.01591, allocations: 51.61 kB / 407.3 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01592, allocations: 0 / 407.3 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.01593, allocations: 11.98 kB / 407.3 MB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01593, allocations: 0 / 407.3 MB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.01594, allocations: 3.984 kB / 407.3 MB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.01622, allocations: 363 kB / 407.6 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.01624, allocations: 8 kB / 407.6 MB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.01634, allocations: 12 kB / 407.6 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.01638, allocations: 27.94 kB / 407.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01639, allocations: 4 kB / 407.7 MB, free: 6.719 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.0165, allocations: 160.6 kB / 407.8 MB, free: 6.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0165, allocations: 0 / 407.8 MB, free: 6.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.01671, allocations: 155.6 kB / 408 MB, free: 6.406 MB / 394.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.921e-05/0.01679, allocations: 96.39 kB / 408.1 MB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.01695, allocations: 168.6 kB / 408.2 MB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/0.01696, allocations: 4 kB / 408.2 MB, free: 6.133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01707, allocations: 128.8 kB / 408.4 MB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.01771, allocations: 1.323 MB / 409.7 MB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/0.02362, allocations: 0.9988 MB / 410.7 MB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.178e-05/0.0237, allocations: 137.8 kB / 410.8 MB, free: 3.242 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.02383, allocations: 52.39 kB / 410.9 MB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.02406, allocations: 169.2 kB / 411 MB, free: 3.02 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02406, allocations: 3.938 kB / 411 MB, free: 3.016 MB / 394.7 MB Notification: Performance of Templates: time 0.00916/0.03322, allocations: 7.223 MB / 418.3 MB, free: 11.82 MB / 410.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.021998558193445]