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.00066/0.00066, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000926/0.001586, 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.0006972/0.0006972, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009511/0.001648, 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.8905/0.8905, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08331/0.9738, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.5374/0.5374, allocations: 110.3 MB / 354.5 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06122/0.5986, allocations: 34.95 MB / 389.4 MB, free: 9.262 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.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.422e-06/1.422e-06, allocations: 3.938 kB / 390.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.44e-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.InternalResistancesOneUTube): time 0.004327/0.004342, allocations: 3.121 MB / 393.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.007345, allocations: 2.187 MB / 396.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.007505, allocations: 8 kB / 396.1 MB, free: 2.543 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.008636, allocations: 477.5 kB / 396.6 MB, free: 2.074 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.008919, allocations: 150.8 kB / 396.7 MB, free: 1.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.009027, allocations: 67.86 kB / 396.8 MB, free: 1.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.009504, allocations: 477.6 kB / 397.2 MB, free: 1.391 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.009708, allocations: 104.5 kB / 397.4 MB, free: 1.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004593/0.01017, allocations: 328.4 kB / 397.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.01038, allocations: 135.6 kB / 397.8 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.01043, allocations: 39.94 kB / 397.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.0105, allocations: 36 kB / 397.9 MB, free: 0.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.01074, allocations: 87.72 kB / 398 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.01088, allocations: 119.8 kB / 398.1 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.01124, allocations: 278.9 kB / 398.4 MB, free: 280 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.278e-05/0.01125, allocations: 0 / 398.4 MB, free: 280 kB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01125, allocations: 0 / 398.4 MB, free: 280 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.01127, allocations: 0 / 398.4 MB, free: 280 kB / 378.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.0009392/0.01221, allocations: 0.6822 MB / 399 MB, free: 15.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.01224, allocations: 8.031 kB / 399 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.01232, allocations: 48.89 kB / 399.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.01267, allocations: 255.9 kB / 399.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.01269, allocations: 12.88 kB / 399.4 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.01273, allocations: 20.38 kB / 399.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.01297, allocations: 153.3 kB / 399.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.01299, allocations: 8.062 kB / 399.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.01301, allocations: 20.11 kB / 399.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.01302, allocations: 4 kB / 399.6 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.01314, allocations: 53.47 kB / 399.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.01386, allocations: 452.1 kB / 400 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.014, allocations: 74.53 kB / 400.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.01407, allocations: 52.83 kB / 400.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.01408, allocations: 4 kB / 400.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.01411, allocations: 34.55 kB / 400.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.01411, allocations: 0 / 400.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002296/0.01434, allocations: 121.8 kB / 400.3 MB, free: 14.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.01437, allocations: 51.41 kB / 400.4 MB, free: 14.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.01464, allocations: 315.4 kB / 400.7 MB, free: 13.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.01465, allocations: 25.7 kB / 400.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.01474, allocations: 165.3 kB / 400.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.01479, allocations: 67.42 kB / 400.9 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.01485, allocations: 41.69 kB / 401 MB, free: 13.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01495, allocations: 346.7 kB / 401.3 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.01499, allocations: 15.98 kB / 401.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.01502, allocations: 16 kB / 401.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.997e-05/0.01511, allocations: 60.75 kB / 401.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01512, allocations: 0 / 401.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001514/0.01527, allocations: 109.9 kB / 401.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01528, allocations: 7.125 kB / 401.5 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.01529, allocations: 0 / 401.5 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.0153, allocations: 0 / 401.5 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.01565, allocations: 91.72 kB / 401.6 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.01565, allocations: 0 / 401.6 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.268e-05/0.01574, allocations: 19.83 kB / 401.6 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.01575, allocations: 3.984 kB / 401.6 MB, free: 12.83 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 (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 8.593e-05/0.01584, allocations: 116.7 kB / 401.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.01589, allocations: 27.97 kB / 401.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.01594, allocations: 35.41 kB / 401.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01595, allocations: 11.88 kB / 401.8 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01595, allocations: 4 kB / 401.8 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.01595, allocations: 3.984 kB / 401.8 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.0162, allocations: 177.7 kB / 402 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.0162, allocations: 0 / 402 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.0165, allocations: 91.84 kB / 402.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.01656, allocations: 35.64 kB / 402.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01656, allocations: 0 / 402.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.01658, allocations: 8 kB / 402.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01658, allocations: 0 / 402.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.01658, allocations: 3.984 kB / 402.1 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.01683, allocations: 223.5 kB / 402.4 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.01687, allocations: 7.938 kB / 402.4 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.01699, allocations: 7.984 kB / 402.4 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.01703, allocations: 15.89 kB / 402.4 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.01704, allocations: 7.938 kB / 402.4 MB, free: 12.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.01719, allocations: 136.7 kB / 402.5 MB, free: 11.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01719, allocations: 0 / 402.5 MB, free: 11.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.01746, allocations: 71.92 kB / 402.6 MB, free: 11.82 MB / 394.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 9.734e-05/0.01756, allocations: 88.42 kB / 402.7 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.01769, allocations: 68.77 kB / 402.8 MB, free: 11.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.0177, allocations: 4 kB / 402.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.01778, allocations: 60.2 kB / 402.8 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.01848, allocations: 0.9333 MB / 403.8 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/0.02402, allocations: 0.6335 MB / 404.4 MB, free: 9.805 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.895e-05/0.0241, allocations: 104.6 kB / 404.5 MB, free: 9.684 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.02421, allocations: 34.95 kB / 404.5 MB, free: 9.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.02442, allocations: 125.3 kB / 404.6 MB, free: 9.527 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.02442, allocations: 0 / 404.6 MB, free: 9.527 MB / 394.7 MB Notification: Performance of Templates: time 0.008224/0.03265, allocations: 4.725 MB / 409.4 MB, free: 4.84 MB / 394.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: 2.897667685523629]