Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.0009368/0.0009368, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009516/0.0009516, allocations: 165 kB / 24.17 MB, free: 332 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.9075/0.9075, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.5565/0.5565, allocations: 110.3 MB / 371.3 MB, free: 12.3 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 422.5 MB, free: 9.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.835e-05, allocations: 2.312 kB / 422.5 MB, free: 9.273 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004415/0.004433, allocations: 3.078 MB / 425.5 MB, free: 6.172 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.007604, allocations: 2.152 MB / 427.7 MB, free: 4.008 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.007783, allocations: 11.94 kB / 427.7 MB, free: 3.996 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.009124, allocations: 477.5 kB / 428.2 MB, free: 3.527 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.009407, allocations: 150.8 kB / 428.3 MB, free: 3.379 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.00955, allocations: 63.81 kB / 428.4 MB, free: 3.316 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.01005, allocations: 469.6 kB / 428.8 MB, free: 2.855 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.01025, allocations: 104.5 kB / 428.9 MB, free: 2.746 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.01064, allocations: 255.4 kB / 429.2 MB, free: 2.496 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.01086, allocations: 135.5 kB / 429.3 MB, free: 2.363 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.01091, allocations: 36 kB / 429.4 MB, free: 2.328 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.331e-05/0.01096, allocations: 32 kB / 429.4 MB, free: 2.297 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.01107, allocations: 99.67 kB / 429.5 MB, free: 2.199 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.01123, allocations: 147.6 kB / 429.6 MB, free: 2.055 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.01158, allocations: 286.9 kB / 429.9 MB, free: 1.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01158, allocations: 0 / 429.9 MB, free: 1.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01158, allocations: 0 / 429.9 MB, free: 1.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.01159, allocations: 0 / 429.9 MB, free: 1.773 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007733/0.01236, allocations: 0.6003 MB / 430.5 MB, free: 1.148 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.0124, allocations: 12.02 kB / 430.5 MB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.01248, allocations: 44.91 kB / 430.6 MB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.01283, allocations: 259.9 kB / 430.8 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.01285, allocations: 20.88 kB / 430.8 MB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.01288, allocations: 16.38 kB / 430.9 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.01312, allocations: 153.3 kB / 431 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.01314, allocations: 8.125 kB / 431 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.01316, allocations: 8.375 kB / 431 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.01316, allocations: 7.938 kB / 431 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.01329, allocations: 61.45 kB / 431.1 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.01406, allocations: 448 kB / 431.5 MB, free: 80 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.01423, allocations: 81.8 kB / 431.6 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.01431, allocations: 44.84 kB / 431.6 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.01433, allocations: 4 kB / 431.7 MB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.01436, allocations: 38.56 kB / 431.7 MB, free: 15.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.694e-06/0.01436, allocations: 0 / 431.7 MB, free: 15.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002614/0.01462, allocations: 113.8 kB / 431.8 MB, free: 15.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.01466, allocations: 55.41 kB / 431.9 MB, free: 15.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.01498, allocations: 311.4 kB / 432.2 MB, free: 15.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.01499, allocations: 25.7 kB / 432.2 MB, free: 15.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.01509, allocations: 173.4 kB / 432.4 MB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.841e-05/0.01519, allocations: 63.36 kB / 432.4 MB, free: 15.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.01525, allocations: 37.69 kB / 432.5 MB, free: 15.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.01538, allocations: 354.7 kB / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.01542, allocations: 12 kB / 432.8 MB, free: 14.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.01546, allocations: 19.98 kB / 432.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.01556, allocations: 61.02 kB / 432.9 MB, free: 14.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01556, allocations: 0 / 432.9 MB, free: 14.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001738/0.01573, allocations: 101.6 kB / 433 MB, free: 14.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01575, allocations: 4 kB / 433 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01576, allocations: 0 / 433 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01577, allocations: 4 kB / 433 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.01598, allocations: 55.91 kB / 433.1 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.01598, allocations: 0 / 433.1 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.01608, allocations: 19.94 kB / 433.1 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.01609, allocations: 0 / 433.1 MB, free: 14.45 MB / 410.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 (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.0001045/0.01619, allocations: 124.6 kB / 433.2 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.01625, allocations: 27.97 kB / 433.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.01631, allocations: 35.41 kB / 433.3 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.01631, allocations: 7.938 kB / 433.3 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01631, allocations: 4 kB / 433.3 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.01632, allocations: 0 / 433.3 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.01667, allocations: 189.5 kB / 433.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01667, allocations: 0 / 433.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.01687, allocations: 51.91 kB / 433.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01687, allocations: 4 kB / 433.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.01689, allocations: 4 kB / 433.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01689, allocations: 0 / 433.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01689, allocations: 0 / 433.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.01717, allocations: 235.3 kB / 433.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.01723, allocations: 35.73 kB / 433.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.01727, allocations: 4 kB / 433.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.01739, allocations: 4 kB / 433.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.01744, allocations: 19.91 kB / 433.8 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.01744, allocations: 4 kB / 433.8 MB, free: 13.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.0176, allocations: 128.7 kB / 433.9 MB, free: 13.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0176, allocations: 0 / 433.9 MB, free: 13.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.01789, allocations: 75.89 kB / 434 MB, free: 13.46 MB / 410.7 MB 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.0001168/0.01801, allocations: 80.42 kB / 434.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.01816, allocations: 83.67 kB / 434.2 MB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.01817, allocations: 4 kB / 434.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.336e-05/0.01823, allocations: 40.78 kB / 434.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.01863, allocations: 85.31 kB / 434.3 MB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.01983, allocations: 0.6298 MB / 434.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.34e-05/0.01992, allocations: 100.3 kB / 435 MB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.02003, allocations: 38.89 kB / 435.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.02017, allocations: 115.3 kB / 435.2 MB, free: 12.24 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02017, allocations: 0 / 435.2 MB, free: 12.24 MB / 410.7 MB Notification: Performance of Templates: time 0.006031/0.02621, allocations: 3.94 MB / 439.1 MB, free: 8.324 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1316265459172428]