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.0008818/0.0008818, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.0008542/0.0008542, allocations: 167.4 kB / 24.87 MB, free: 9.273 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.889/0.889, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.5461/0.5461, allocations: 110.3 MB / 372.1 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.022e-06/1.022e-06, allocations: 0 / 476.5 MB, free: 15.05 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.267e-06/1.029e-05, allocations: 4.844 kB / 476.5 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.002766/0.002776, allocations: 4.15 MB / 480.6 MB, free: 12.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.004612, allocations: 2.384 MB / 483 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.004779, allocations: 11.47 kB / 483 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008501/0.005629, allocations: 0.4906 MB / 483.5 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.005868, allocations: 268.5 kB / 483.8 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.005997, allocations: 144.8 kB / 483.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.006456, allocations: 0.8488 MB / 484.8 MB, free: 9.699 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.006688, allocations: 208.7 kB / 485 MB, free: 9.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.007039, allocations: 464.5 kB / 485.4 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.007258, allocations: 252.4 kB / 485.7 MB, free: 9.309 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.007326, allocations: 73.69 kB / 485.8 MB, free: 9.309 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.0074, allocations: 75.12 kB / 485.8 MB, free: 9.309 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.007493, allocations: 180 kB / 486 MB, free: 9.188 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.007663, allocations: 266.4 kB / 486.3 MB, free: 9.074 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.008018, allocations: 0.5051 MB / 486.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00802, allocations: 1.312 kB / 486.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.00802, allocations: 0.75 kB / 486.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.008027, allocations: 0 / 486.8 MB, free: 8.812 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.0008013/0.008829, allocations: 1.014 MB / 487.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.008859, allocations: 9.75 kB / 487.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.008971, allocations: 111.3 kB / 487.9 MB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.009259, allocations: 386.1 kB / 488.3 MB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.009285, allocations: 37.06 kB / 488.3 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.009336, allocations: 48.03 kB / 488.4 MB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.009611, allocations: 278.8 kB / 488.6 MB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.009625, allocations: 1.906 kB / 488.6 MB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.009648, allocations: 19.88 kB / 488.7 MB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.009658, allocations: 16.81 kB / 488.7 MB, free: 7.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.00984, allocations: 149.8 kB / 488.8 MB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009771/0.01082, allocations: 1.123 MB / 489.9 MB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.011, allocations: 192.5 kB / 490.1 MB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.01116, allocations: 172.3 kB / 490.3 MB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.01118, allocations: 10.59 kB / 490.3 MB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.01119, allocations: 40.39 kB / 490.4 MB, free: 6.734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.413e-06/0.0112, allocations: 1.531 kB / 490.4 MB, free: 6.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003228/0.01152, allocations: 294.9 kB / 490.6 MB, free: 6.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.01154, allocations: 55.22 kB / 490.7 MB, free: 6.578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.01184, allocations: 464.9 kB / 491.2 MB, free: 22.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.01185, allocations: 32.8 kB / 491.2 MB, free: 22.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.01197, allocations: 355.4 kB / 491.5 MB, free: 22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.01203, allocations: 155.9 kB / 491.7 MB, free: 21.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.01209, allocations: 66.41 kB / 491.7 MB, free: 21.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01221, allocations: 0.5548 MB / 492.3 MB, free: 21.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.01226, allocations: 41.44 kB / 492.3 MB, free: 21.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.01232, allocations: 46.2 kB / 492.4 MB, free: 21.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.01245, allocations: 143.9 kB / 492.5 MB, free: 21.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01245, allocations: 0 / 492.5 MB, free: 21.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002261/0.01268, allocations: 253.7 kB / 492.8 MB, free: 21.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.01269, allocations: 14.25 kB / 492.8 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01269, allocations: 0 / 492.8 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.0127, allocations: 2.906 kB / 492.8 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.01296, allocations: 120.7 kB / 492.9 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.01297, allocations: 5.969 kB / 492.9 MB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.969e-05/0.01306, allocations: 30.27 kB / 492.9 MB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01307, allocations: 8.594 kB / 493 MB, free: 21.1 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 9.748e-05/0.01317, allocations: 174.5 kB / 493.1 MB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.01322, allocations: 64.2 kB / 493.2 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.01327, allocations: 60.34 kB / 493.2 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.01328, allocations: 3.875 kB / 493.3 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01328, allocations: 0 / 493.3 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01328, allocations: 9.766 kB / 493.3 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.01356, allocations: 337.7 kB / 493.6 MB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01356, allocations: 0 / 493.6 MB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.01384, allocations: 129.1 kB / 493.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01384, allocations: 1.406 kB / 493.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.01386, allocations: 10.25 kB / 493.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01386, allocations: 1.094 kB / 493.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01387, allocations: 3.062 kB / 493.7 MB, free: 20.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.01425, allocations: 469.6 kB / 494.2 MB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.0143, allocations: 56.58 kB / 494.2 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.01433, allocations: 10.38 kB / 494.3 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.01442, allocations: 8.75 kB / 494.3 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.01446, allocations: 29.69 kB / 494.3 MB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01447, allocations: 8.719 kB / 494.3 MB, free: 20.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.01464, allocations: 298.8 kB / 494.6 MB, free: 20.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01464, allocations: 0.75 kB / 494.6 MB, free: 20.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.01491, allocations: 152.9 kB / 494.7 MB, free: 20.07 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 8.075e-05/0.01499, allocations: 120.6 kB / 494.9 MB, free: 19.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.01519, allocations: 170.3 kB / 495 MB, free: 19.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01519, allocations: 1.031 kB / 495 MB, free: 19.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.0153, allocations: 115.2 kB / 495.1 MB, free: 19.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.01584, allocations: 102.6 kB / 495.2 MB, free: 19.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.01757, allocations: 1.016 MB / 496.3 MB, free: 19.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.845e-05/0.01766, allocations: 134.7 kB / 496.4 MB, free: 19.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.01784, allocations: 44.02 kB / 496.4 MB, free: 19.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.01806, allocations: 162 kB / 496.6 MB, free: 19.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.01806, allocations: 0.6875 kB / 496.6 MB, free: 19.17 MB / 426.7 MB Notification: Performance of Templates: time 0.00894/0.027, allocations: 5.552 MB / 0.4904 GB, free: 18.43 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.209632887970656]