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.001189/0.001189, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001725/0.002914, allocations: 449.7 kB / 10.37 MB, free: 328 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.001168/0.001168, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002677, allocations: 463.6 kB / 11.71 MB, free: 2.457 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.895/0.895, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07291/0.9679, allocations: 53.64 MB / 243.3 MB, free: 15.6 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.5444/0.5444, allocations: 110.2 MB / 354.2 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.05983/0.6042, allocations: 34.95 MB / 389.2 MB, free: 9.363 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.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 9.52e-07/9.52e-07, allocations: 0 / 390.5 MB, free: 8.023 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.653e-05, allocations: 6.25 kB / 390.5 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003385/0.003402, allocations: 4.211 MB / 394.7 MB, free: 3.777 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.005996, allocations: 2.468 MB / 397.2 MB, free: 1.297 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.006167, allocations: 15.94 kB / 397.2 MB, free: 1.281 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008707/0.007037, allocations: 0.5089 MB / 397.7 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.007324, allocations: 253.9 kB / 398 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.007471, allocations: 143.8 kB / 398.1 MB, free: 388 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.007971, allocations: 0.8562 MB / 399 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.008222, allocations: 225 kB / 399.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.008662, allocations: 0.5369 MB / 399.7 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.008875, allocations: 247.3 kB / 400 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.008933, allocations: 76 kB / 400.1 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.495e-05/0.008998, allocations: 76 kB / 400.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.884e-05/0.009097, allocations: 139.5 kB / 400.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.009272, allocations: 227.6 kB / 400.5 MB, free: 14 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.009644, allocations: 486.3 kB / 401 MB, free: 13.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.009657, allocations: 4 kB / 401 MB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.00966, allocations: 4 kB / 401 MB, free: 13.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.009674, allocations: 0 / 401 MB, free: 13.52 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008359/0.01051, allocations: 1.001 MB / 402 MB, free: 12.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.01054, allocations: 12.03 kB / 402 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.01062, allocations: 92.86 kB / 402.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.01115, allocations: 295.5 kB / 402.4 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.01118, allocations: 37.38 kB / 402.4 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.01122, allocations: 52.33 kB / 402.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.01148, allocations: 291.7 kB / 402.7 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.01149, allocations: 192 / 402.7 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.01151, allocations: 20.38 kB / 402.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01152, allocations: 15.94 kB / 402.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.01167, allocations: 134.9 kB / 402.9 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.01255, allocations: 0.857 MB / 403.8 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.0127, allocations: 167.2 kB / 403.9 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.01284, allocations: 156.5 kB / 404.1 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.01286, allocations: 8 kB / 404.1 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.01288, allocations: 35.25 kB / 404.1 MB, free: 10.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.01288, allocations: 7.938 kB / 404.1 MB, free: 10.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002436/0.01313, allocations: 222.2 kB / 404.3 MB, free: 10.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.01315, allocations: 55.41 kB / 404.4 MB, free: 9.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.01334, allocations: 351.3 kB / 404.7 MB, free: 9.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.01336, allocations: 33.7 kB / 404.8 MB, free: 9.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.01344, allocations: 237.4 kB / 405 MB, free: 9.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.01351, allocations: 146.7 kB / 405.1 MB, free: 9.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.01356, allocations: 66.05 kB / 405.2 MB, free: 9.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.01365, allocations: 362.7 kB / 405.6 MB, free: 8.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/0.01369, allocations: 32.73 kB / 405.6 MB, free: 8.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.325e-05/0.01373, allocations: 49.23 kB / 405.6 MB, free: 8.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.01385, allocations: 136.9 kB / 405.8 MB, free: 8.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01385, allocations: 0 / 405.8 MB, free: 8.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001544/0.014, allocations: 177.3 kB / 406 MB, free: 8.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01401, allocations: 8 kB / 406 MB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.01402, allocations: 0 / 406 MB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/0.01403, allocations: 0 / 406 MB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.01446, allocations: 211.5 kB / 406.2 MB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01446, allocations: 4 kB / 406.2 MB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.01453, allocations: 23.78 kB / 406.2 MB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.01454, allocations: 11.98 kB / 406.2 MB, free: 8.113 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 (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 8.91e-05/0.01463, allocations: 140.5 kB / 406.3 MB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.01467, allocations: 35.97 kB / 406.4 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.01473, allocations: 64.8 kB / 406.4 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01473, allocations: 4 kB / 406.4 MB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01473, allocations: 4 kB / 406.4 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01474, allocations: 0 / 406.4 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.01499, allocations: 297.3 kB / 406.7 MB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01499, allocations: 0 / 406.7 MB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.01536, allocations: 207.5 kB / 406.9 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.0154, allocations: 51.59 kB / 407 MB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.0154, allocations: 0 / 407 MB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.01542, allocations: 8 kB / 407 MB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01542, allocations: 0 / 407 MB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01542, allocations: 3.984 kB / 407 MB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.0157, allocations: 363 kB / 407.4 MB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.01573, allocations: 15.94 kB / 407.4 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.01582, allocations: 15.98 kB / 407.4 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.01585, allocations: 23.95 kB / 407.4 MB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.01586, allocations: 8 kB / 407.4 MB, free: 6.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.01596, allocations: 148.7 kB / 407.6 MB, free: 6.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01596, allocations: 0 / 407.6 MB, free: 6.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000214/0.01618, allocations: 155.6 kB / 407.7 MB, free: 6.547 MB / 394.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 0.0001098/0.01629, allocations: 88.36 kB / 407.8 MB, free: 6.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.01646, allocations: 164.4 kB / 408 MB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.01647, allocations: 8 kB / 408 MB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.01655, allocations: 108.8 kB / 408.1 MB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.01688, allocations: 141.5 kB / 408.2 MB, free: 6.035 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.02272, allocations: 1.01 MB / 409.2 MB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.703e-05/0.02279, allocations: 129.8 kB / 409.4 MB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004055/0.0232, allocations: 52.25 kB / 409.4 MB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.02339, allocations: 153.3 kB / 409.6 MB, free: 4.645 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0234, allocations: 0 / 409.6 MB, free: 4.645 MB / 394.7 MB Notification: Performance of Templates: time 0.008791/0.03219, allocations: 6.564 MB / 416.1 MB, free: 14.12 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: 2.963443794287741]