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.0009367/0.0009367, allocations: 80.39 kB / 20.98 MB, free: 3.578 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.0009694/0.0009694, allocations: 165.4 kB / 24.28 MB, free: 280 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.9033/0.9033, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.5643/0.5643, allocations: 110.2 MB / 371.3 MB, free: 12.5 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.233e-06/1.233e-06, allocations: 0 / 475.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.321e-05, allocations: 2.312 kB / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003035/0.003048, allocations: 4.246 MB / 479.5 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.005069, allocations: 2.408 MB / 481.9 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.005263, allocations: 13.22 kB / 481.9 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009745/0.006237, allocations: 0.496 MB / 482.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.006486, allocations: 262.3 kB / 482.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.006615, allocations: 142 kB / 482.8 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000447/0.007062, allocations: 0.8431 MB / 483.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.007302, allocations: 222.9 kB / 483.9 MB, free: 9.754 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.00765, allocations: 461.2 kB / 484.3 MB, free: 9.555 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.007859, allocations: 252.2 kB / 484.6 MB, free: 9.473 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.54e-05/0.007924, allocations: 80.72 kB / 484.6 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.007998, allocations: 72.06 kB / 484.7 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.733e-05/0.008095, allocations: 169.6 kB / 484.9 MB, free: 9.355 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.008267, allocations: 273.2 kB / 485.1 MB, free: 9.234 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.008631, allocations: 0.504 MB / 485.7 MB, free: 8.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.008633, allocations: 1.156 kB / 485.7 MB, free: 8.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008634, allocations: 0 / 485.7 MB, free: 8.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.008644, allocations: 0 / 485.7 MB, free: 8.98 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.0008247/0.009469, allocations: 0.9995 MB / 486.7 MB, free: 8.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.0095, allocations: 9.625 kB / 486.7 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.009611, allocations: 116.7 kB / 486.8 MB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.009949, allocations: 388.3 kB / 487.2 MB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.009971, allocations: 38.22 kB / 487.2 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.01002, allocations: 48.44 kB / 487.2 MB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.01039, allocations: 311.5 kB / 487.5 MB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.01041, allocations: 6.047 kB / 487.5 MB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.01043, allocations: 20.06 kB / 487.6 MB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.01044, allocations: 22.16 kB / 487.6 MB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.01073, allocations: 189.5 kB / 487.8 MB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.01183, allocations: 1.206 MB / 489 MB, free: 6.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.01208, allocations: 210.7 kB / 489.2 MB, free: 6.902 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.01231, allocations: 197.2 kB / 489.4 MB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.01233, allocations: 11.19 kB / 489.4 MB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.01234, allocations: 36.58 kB / 489.4 MB, free: 6.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.433e-06/0.01234, allocations: 3.938 kB / 489.4 MB, free: 6.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.000431/0.01277, allocations: 327.1 kB / 489.7 MB, free: 6.699 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.01279, allocations: 63.25 kB / 489.8 MB, free: 6.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.01311, allocations: 481.8 kB / 490.3 MB, free: 6.367 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.01312, allocations: 35.02 kB / 490.3 MB, free: 6.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.01323, allocations: 346.5 kB / 490.7 MB, free: 6.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.01329, allocations: 157.1 kB / 490.8 MB, free: 5.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.01335, allocations: 66.39 kB / 490.9 MB, free: 5.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.01354, allocations: 0.5446 MB / 491.4 MB, free: 21.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.935e-05/0.01363, allocations: 58.09 kB / 491.5 MB, free: 21.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.01372, allocations: 56.92 kB / 491.5 MB, free: 21.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.01392, allocations: 170.9 kB / 491.7 MB, free: 21.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01392, allocations: 0 / 491.7 MB, free: 21.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000291/0.01421, allocations: 280.6 kB / 492 MB, free: 21.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.01422, allocations: 5.312 kB / 492 MB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.01423, allocations: 0 / 492 MB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.01424, allocations: 3 kB / 492 MB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.01452, allocations: 131.5 kB / 492.1 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.01453, allocations: 2.719 kB / 492.1 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.01461, allocations: 31.31 kB / 492.1 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.01463, allocations: 10.75 kB / 492.1 MB, free: 21.12 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.0001034/0.01473, allocations: 177.6 kB / 492.3 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.01478, allocations: 61.05 kB / 492.4 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.01484, allocations: 58 kB / 492.4 MB, free: 20.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.01484, allocations: 4.906 kB / 492.4 MB, free: 20.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.01485, allocations: 5.562 kB / 492.4 MB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01485, allocations: 0 / 492.4 MB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.01518, allocations: 430.3 kB / 492.9 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01518, allocations: 0 / 492.9 MB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.01545, allocations: 124.6 kB / 493 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01545, allocations: 2.375 kB / 493 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.01547, allocations: 12.09 kB / 493 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01548, allocations: 1.156 kB / 493 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01548, allocations: 0 / 493 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.01593, allocations: 0.5033 MB / 493.5 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.01598, allocations: 58.5 kB / 493.6 MB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.01601, allocations: 6.594 kB / 493.6 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.0161, allocations: 12.09 kB / 493.6 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.01615, allocations: 31.62 kB / 493.6 MB, free: 20.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.01616, allocations: 6.781 kB / 493.6 MB, free: 20.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002084/0.01637, allocations: 314.6 kB / 493.9 MB, free: 20.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01637, allocations: 0 / 493.9 MB, free: 20.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000268/0.01664, allocations: 150.4 kB / 494.1 MB, free: 20.03 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.841e-05/0.01671, allocations: 115.9 kB / 494.2 MB, free: 19.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.01698, allocations: 194 kB / 494.4 MB, free: 19.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01699, allocations: 1.406 kB / 494.4 MB, free: 19.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.01711, allocations: 133.2 kB / 494.5 MB, free: 19.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.01747, allocations: 111.5 kB / 494.6 MB, free: 19.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.0187, allocations: 1.026 MB / 495.6 MB, free: 19.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.01878, allocations: 129.1 kB / 495.8 MB, free: 19.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.01889, allocations: 46.91 kB / 495.8 MB, free: 19.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.01896, allocations: 34.47 kB / 495.9 MB, free: 19.16 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01896, allocations: 0.6562 kB / 495.9 MB, free: 19.16 MB / 426.7 MB Notification: Performance of Templates: time 0.00728/0.02624, allocations: 4.992 MB / 0.4891 GB, free: 18.55 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.336665284121409]