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.0009549/0.0009549, 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.001118/0.001118, 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.9548/0.9548, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.5492/0.5492, allocations: 110.3 MB / 371.3 MB, free: 12.38 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.263e-06/1.263e-06, allocations: 0 / 422.5 MB, free: 9.316 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.545e-05, allocations: 2.312 kB / 422.5 MB, free: 9.312 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003534/0.003549, allocations: 4.171 MB / 426.6 MB, free: 5.113 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.005962, allocations: 2.444 MB / 429.1 MB, free: 2.656 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.006146, allocations: 8 kB / 429.1 MB, free: 2.648 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009629/0.007109, allocations: 0.4972 MB / 429.6 MB, free: 2.148 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.007402, allocations: 269.8 kB / 429.8 MB, free: 1.883 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.00757, allocations: 139.8 kB / 430 MB, free: 1.746 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005873/0.008158, allocations: 0.8405 MB / 430.8 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.008428, allocations: 221 kB / 431 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.008824, allocations: 470.9 kB / 431.5 MB, free: 224 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.009077, allocations: 259.3 kB / 431.7 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.009136, allocations: 72 kB / 431.8 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-05/0.009202, allocations: 76 kB / 431.9 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.009318, allocations: 175.4 kB / 432.1 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.009501, allocations: 267.4 kB / 432.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.009876, allocations: 0.5022 MB / 432.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.009878, allocations: 0 / 432.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.009878, allocations: 0 / 432.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.009883, allocations: 0 / 432.8 MB, free: 14.88 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.0007695/0.01065, allocations: 0.8572 MB / 433.7 MB, free: 14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.01069, allocations: 16.03 kB / 433.7 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.01077, allocations: 88.86 kB / 433.8 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.01106, allocations: 299.5 kB / 434.1 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.01108, allocations: 37.38 kB / 434.1 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.01113, allocations: 48.36 kB / 434.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.0114, allocations: 287.6 kB / 434.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.01141, allocations: 8.172 kB / 434.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.01143, allocations: 20.38 kB / 434.5 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.01144, allocations: 15.94 kB / 434.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.01159, allocations: 130.9 kB / 434.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009201/0.01251, allocations: 0.8454 MB / 435.5 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.01268, allocations: 167.2 kB / 435.6 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.01283, allocations: 161.5 kB / 435.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.01284, allocations: 4 kB / 435.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.01286, allocations: 42.34 kB / 435.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.383e-06/0.01286, allocations: 0 / 435.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002553/0.01312, allocations: 225.1 kB / 436 MB, free: 11.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.01315, allocations: 55.41 kB / 436.1 MB, free: 11.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.01335, allocations: 347.3 kB / 436.4 MB, free: 11.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.01337, allocations: 33.7 kB / 436.5 MB, free: 11.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.01345, allocations: 237.4 kB / 436.7 MB, free: 10.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.01353, allocations: 154.6 kB / 436.9 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.01359, allocations: 62.03 kB / 436.9 MB, free: 10.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.01368, allocations: 362.7 kB / 437.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.01372, allocations: 36.73 kB / 437.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-05/0.01377, allocations: 41.47 kB / 437.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.01389, allocations: 134.1 kB / 437.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01389, allocations: 0 / 437.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001656/0.01406, allocations: 189 kB / 437.7 MB, free: 9.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01407, allocations: 4 kB / 437.7 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01408, allocations: 4 kB / 437.7 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.01409, allocations: 4 kB / 437.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.01433, allocations: 127.9 kB / 437.8 MB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.01433, allocations: 0 / 437.8 MB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.01441, allocations: 35.72 kB / 437.8 MB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.01442, allocations: 4 kB / 437.8 MB, free: 9.707 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 (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 9.54e-05/0.01452, allocations: 128.6 kB / 438 MB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.01456, allocations: 39.95 kB / 438 MB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.01462, allocations: 60.88 kB / 438.1 MB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01462, allocations: 7.938 kB / 438.1 MB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01462, allocations: 0 / 438.1 MB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.01463, allocations: 7.922 kB / 438.1 MB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.01489, allocations: 293.3 kB / 438.4 MB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0149, allocations: 0 / 438.4 MB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.01513, allocations: 127.8 kB / 438.5 MB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01513, allocations: 0 / 438.5 MB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.01515, allocations: 8 kB / 438.5 MB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01515, allocations: 4 kB / 438.5 MB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01515, allocations: 0 / 438.5 MB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.01544, allocations: 360.4 kB / 438.9 MB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.01549, allocations: 51.58 kB / 438.9 MB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.01552, allocations: 8 kB / 438.9 MB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.0156, allocations: 8 kB / 438.9 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.01563, allocations: 23.95 kB / 438.9 MB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.01564, allocations: 4 kB / 438.9 MB, free: 8.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.01575, allocations: 156.7 kB / 439.1 MB, free: 8.398 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01575, allocations: 0 / 439.1 MB, free: 8.398 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.01596, allocations: 155.6 kB / 439.3 MB, free: 8.246 MB / 410.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 9.177e-05/0.01605, allocations: 100.4 kB / 439.4 MB, free: 8.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.01621, allocations: 156.7 kB / 439.5 MB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.01621, allocations: 4 kB / 439.5 MB, free: 7.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.0163, allocations: 112.2 kB / 439.6 MB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.01658, allocations: 101.5 kB / 439.7 MB, free: 7.758 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.01768, allocations: 0.9577 MB / 440.7 MB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.01779, allocations: 129.8 kB / 440.8 MB, free: 6.617 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.01791, allocations: 47.39 kB / 440.8 MB, free: 6.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.01807, allocations: 135.3 kB / 441 MB, free: 6.438 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01807, allocations: 0 / 441 MB, free: 6.438 MB / 410.7 MB Notification: Performance of Templates: time 0.007243/0.02531, allocations: 5.366 MB / 446.3 MB, free: 1.094 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.3155633830465376]