Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 110.4 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8506/0.8506, allocations: 143 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.06 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1425, allocations: 82.04 MB / 0.6764 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.5824/0.725, allocations: 292.6 MB / 0.9621 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.09722/0.8222, allocations: 70.7 MB / 1.031 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01316/0.8355, allocations: 385.9 kB / 1.032 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01463/0.8501, allocations: 5.051 MB / 1.036 GB, free: 2.805 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0372/0.8873, allocations: 13.52 MB / 1.05 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.5061/1.393, allocations: 9.348 MB / 1.059 GB, free: 18.83 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.2737/1.667, allocations: 222.9 MB / 1.276 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1646/1.832, allocations: 104.6 MB / 1.379 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.142/2.973, allocations: 73.9 MB / 1.451 GB, free: 82.04 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09407/3.067, allocations: 63.41 MB / 1.513 GB, free: 77.09 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.03128/3.099, allocations: 10.97 MB / 1.523 GB, free: 77.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0707/3.17, allocations: 18.11 MB / 1.541 GB, free: 77.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.04205/3.212, allocations: 24.47 MB / 1.565 GB, free: 74.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.09575/3.307, allocations: 53.11 MB / 1.617 GB, free: 56.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.2012/3.509, allocations: 192.6 MB / 1.805 GB, free: 6.5 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/3.509, allocations: 0 / 1.805 GB, free: 6.5 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.084e-06/3.509, allocations: 0 / 1.805 GB, free: 6.5 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.004418/3.513, allocations: 0 / 1.805 GB, free: 6.5 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12889 * Number of variables: 12889 Notification: Performance of Generate backend data structure: time 1.02/4.533, allocations: 93.69 MB / 1.896 GB, free: 445.8 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/4.533, allocations: 7.938 kB / 1.896 GB, free: 445.8 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04547/4.579, allocations: 9.191 MB / 1.905 GB, free: 441.3 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1653/4.744, allocations: 91.58 MB / 1.995 GB, free: 356.3 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003435/4.748, allocations: 3.796 MB / 1.998 GB, free: 352.5 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01792/4.766, allocations: 5.058 MB / 2.003 GB, free: 347.5 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1749/4.941, allocations: 77.38 MB / 2.079 GB, free: 268.2 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002591/4.943, allocations: 142.7 kB / 2.079 GB, free: 268 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01633/4.96, allocations: 2.096 MB / 2.081 GB, free: 265.9 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009549/4.96, allocations: 1.464 MB / 2.083 GB, free: 264.5 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1314/5.092, allocations: 66.23 MB / 2.147 GB, free: 198.2 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9781/6.07, allocations: 381.2 MB / 2.52 GB, free: 246 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07014/6.14, allocations: 40.76 MB / 2.559 GB, free: 225.8 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04089/6.181, allocations: 25.89 MB / 2.585 GB, free: 213 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005831/6.187, allocations: 5.244 MB / 2.59 GB, free: 207.4 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006145/6.188, allocations: 407.6 kB / 2.59 GB, free: 207.1 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03175/6.219, allocations: 3.068 MB / 2.593 GB, free: 206.6 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2661): time 9.32e-05/6.22, allocations: 0 / 2.593 GB, free: 206.6 MB / 1.186 GB Notification: Performance of matching and sorting (n=2661): time 0.1449/6.364, allocations: 68.33 MB / 2.66 GB, free: 163.7 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00022/6.365, allocations: 0.8225 MB / 2.661 GB, free: 162.8 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1703/6.535, allocations: 86.41 MB / 2.745 GB, free: 77.57 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.007095/6.542, allocations: 0.6071 MB / 2.746 GB, free: 76.96 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0456/6.588, allocations: 35.62 MB / 2.78 GB, free: 42.56 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.01357/6.601, allocations: 9.47 MB / 2.79 GB, free: 33.16 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03022/6.632, allocations: 8.803 MB / 2.798 GB, free: 24.34 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 3.891e-05/6.632, allocations: 305.1 kB / 2.799 GB, free: 24.04 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0364/6.668, allocations: 21.96 MB / 2.82 GB, free: 2.043 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5482/7.216, allocations: 32.96 MB / 2.852 GB, free: 385.6 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07413/7.291, allocations: 51.85 MB / 2.903 GB, free: 362.5 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002503/7.291, allocations: 69.88 kB / 2.903 GB, free: 362.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1437/7.435, allocations: 69.53 MB / 2.971 GB, free: 338.5 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003018/7.435, allocations: 107.2 kB / 2.971 GB, free: 338.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001314/7.436, allocations: 350.5 kB / 2.971 GB, free: 338.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09442/7.531, allocations: 41.14 MB / 3.011 GB, free: 311.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05276/7.583, allocations: 7.8 MB / 3.019 GB, free: 304.6 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1235/7.707, allocations: 134.4 MB / 3.15 GB, free: 163 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05573/7.763, allocations: 3.062 MB / 3.153 GB, free: 159.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007966/7.771, allocations: 1.617 MB / 3.155 GB, free: 158.3 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0862/7.857, allocations: 49.96 MB / 3.204 GB, free: 108.3 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04585/7.903, allocations: 32.94 MB / 3.236 GB, free: 71.37 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5931/8.496, allocations: 51.79 MB / 3.286 GB, free: 328.6 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003142/8.496, allocations: 67.5 kB / 3.286 GB, free: 328.6 MB / 1.186 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.1376/8.634, allocations: 69.49 MB / 3.354 GB, free: 319 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/8.634, allocations: 107.3 kB / 3.354 GB, free: 319 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008113/8.635, allocations: 340.9 kB / 3.355 GB, free: 319 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04588/8.681, allocations: 41.07 MB / 3.395 GB, free: 315 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02807/8.709, allocations: 7.802 MB / 3.402 GB, free: 314.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09266/8.802, allocations: 136.9 MB / 3.536 GB, free: 197 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05887/8.861, allocations: 3.711 MB / 3.54 GB, free: 194.6 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008355/8.869, allocations: 1.615 MB / 3.541 GB, free: 193 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1088 * 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 (4218): * Single equations (assignments): 4114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 64 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 60 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(32,530), (1,4), (1,4), (11,229)} Notification: Performance of prepare postOptimizeDAE: time 0.01497/8.884, allocations: 2.422 MB / 3.544 GB, free: 190.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02683/8.911, allocations: 6.383 MB / 3.55 GB, free: 186 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1075/9.018, allocations: 52.08 MB / 3.601 GB, free: 135.5 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07233/9.091, allocations: 40.3 MB / 3.64 GB, free: 94.9 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001089/9.091, allocations: 0 / 3.64 GB, free: 94.9 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04318/9.134, allocations: 13.5 MB / 3.653 GB, free: 81.3 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02469/9.159, allocations: 0.5312 MB / 3.654 GB, free: 80.77 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04659/9.205, allocations: 2.028 MB / 3.656 GB, free: 78.77 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006219/9.212, allocations: 1.561 MB / 3.657 GB, free: 77.2 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1048/9.316, allocations: 55.81 MB / 3.712 GB, free: 21.71 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.5904/9.907, allocations: 64.01 MB / 3.774 GB, free: 319.6 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02508/9.932, allocations: 18.63 MB / 3.793 GB, free: 312.8 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.1077/10.04, allocations: 61.53 MB / 3.853 GB, free: 292 MB / 1.186 GB Notification: Performance of Backend: time 1.022e-06/10.04, allocations: 0 / 3.853 GB, free: 292 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.1821/10.22, allocations: 85.97 MB / 3.937 GB, free: 242.3 MB / 1.186 GB Notification: Performance of SimCode: time 0.3859/10.61, allocations: 192.7 MB / 4.125 GB, free: 51.75 MB / 1.186 GB Notification: Performance of Templates: time 4.614/15.22, allocations: 1.608 GB / 5.733 GB, free: 152 MB / 1.186 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1)