Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00161/0.00161, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.00178/0.00178, 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002211/0.002211, allocations: 289.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9346/0.9346, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 87.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4442, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.6281/1.072, allocations: 292.5 MB / 1.053 GB, free: 35.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.08205/1.154, allocations: 70.62 MB / 1.122 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01338/1.168, allocations: 382 kB / 1.122 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0146/1.183, allocations: 4.919 MB / 1.127 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.03714/1.22, allocations: 12.87 MB / 1.139 GB, free: 6.43 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02333/1.243, allocations: 9.302 MB / 1.149 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 1.231/2.474, allocations: 222.6 MB / 1.366 GB, free: 18.74 MB / 0.9357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1673/2.642, allocations: 104.6 MB / 1.468 GB, free: 18.46 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1348/2.777, allocations: 73.88 MB / 1.54 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1165/2.893, allocations: 63.41 MB / 1.602 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.03917/2.932, allocations: 10.97 MB / 1.613 GB, free: 3.418 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07893/3.011, allocations: 18.1 MB / 1.631 GB, free: 2.262 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.05335/3.065, allocations: 24.47 MB / 1.654 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.1189/3.184, allocations: 53.23 MB / 1.706 GB, free: 6.816 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 1.273/4.457, allocations: 182.6 MB / 1.885 GB, free: 71.59 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/4.457, allocations: 8.062 kB / 1.885 GB, free: 71.59 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.713e-06/4.457, allocations: 0.5625 kB / 1.885 GB, free: 71.59 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.005094/4.462, allocations: 0.9062 kB / 1.885 GB, free: 71.59 MB / 1.139 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 0.2658/4.728, allocations: 93.53 MB / 1.976 GB, free: 27.59 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/4.728, allocations: 7.719 kB / 1.976 GB, free: 27.59 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04918/4.777, allocations: 9.194 MB / 1.985 GB, free: 23.04 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.184/4.961, allocations: 91.36 MB / 2.074 GB, free: 9.68 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004687/4.966, allocations: 3.799 MB / 2.078 GB, free: 7.965 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02772/4.994, allocations: 5.056 MB / 2.083 GB, free: 6.297 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2404/5.234, allocations: 77.38 MB / 2.158 GB, free: 12.09 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002641/5.237, allocations: 149 kB / 2.159 GB, free: 11.99 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02072/5.258, allocations: 2.098 MB / 2.161 GB, free: 9.914 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001842/5.26, allocations: 1.458 MB / 2.162 GB, free: 8.477 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6713/5.931, allocations: 66.23 MB / 2.227 GB, free: 448.6 MB / 1.248 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.5226/6.453, allocations: 380.9 MB / 2.599 GB, free: 103.8 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07654/6.53, allocations: 40.76 MB / 2.639 GB, free: 63.71 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0472/6.577, allocations: 25.9 MB / 2.664 GB, free: 37.82 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00614/6.583, allocations: 5.253 MB / 2.669 GB, free: 31.59 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007503/6.584, allocations: 400.8 kB / 2.669 GB, free: 31.18 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03915/6.623, allocations: 3.072 MB / 2.672 GB, free: 28.15 MB / 1.248 GB Notification: Performance of pre-optimization done (n=2661): time 5.632e-05/6.624, allocations: 3.281 kB / 2.672 GB, free: 28.15 MB / 1.248 GB Notification: Performance of matching and sorting (n=2661): time 0.7307/7.354, allocations: 68.31 MB / 2.739 GB, free: 406.5 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002996/7.355, allocations: 0.8256 MB / 2.74 GB, free: 405.8 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2095/7.564, allocations: 86.41 MB / 2.824 GB, free: 388 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.008219/7.572, allocations: 0.6119 MB / 2.825 GB, free: 387.6 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.05655/7.629, allocations: 35.61 MB / 2.86 GB, free: 362.2 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0186/7.648, allocations: 9.461 MB / 2.869 GB, free: 354.9 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04351/7.691, allocations: 8.81 MB / 2.878 GB, free: 350.9 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 5.38e-05/7.691, allocations: 301.1 kB / 2.878 GB, free: 350.6 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04873/7.74, allocations: 21.97 MB / 2.899 GB, free: 342.7 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04953/7.79, allocations: 32.97 MB / 2.931 GB, free: 314.4 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07664/7.866, allocations: 51.85 MB / 2.982 GB, free: 265.1 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002734/7.867, allocations: 68 kB / 2.982 GB, free: 265 MB / 1.248 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1429/8.009, allocations: 69.52 MB / 3.05 GB, free: 195.4 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003399/8.01, allocations: 111.9 kB / 3.05 GB, free: 195.3 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009676/8.011, allocations: 348 kB / 3.051 GB, free: 195 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04768/8.059, allocations: 41.14 MB / 3.091 GB, free: 153.5 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03105/8.09, allocations: 7.797 MB / 3.098 GB, free: 145.7 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6735/8.763, allocations: 134.3 MB / 3.229 GB, free: 306.5 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06044/8.824, allocations: 3.08 MB / 3.232 GB, free: 306.5 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01064/8.834, allocations: 1.612 MB / 3.234 GB, free: 306.5 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0999/8.934, allocations: 49.96 MB / 3.283 GB, free: 301.7 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05411/8.988, allocations: 32.95 MB / 3.315 GB, free: 282.1 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08548/9.074, allocations: 51.79 MB / 3.366 GB, free: 254.1 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003491/9.074, allocations: 74.44 kB / 3.366 GB, free: 254.1 MB / 1.248 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.1527/9.227, allocations: 69.48 MB / 3.434 GB, free: 201.4 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.000503/9.228, allocations: 111.9 kB / 3.434 GB, free: 201.3 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001172/9.229, allocations: 351.1 kB / 3.434 GB, free: 201 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04748/9.276, allocations: 41.07 MB / 3.474 GB, free: 161.8 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02813/9.304, allocations: 7.802 MB / 3.482 GB, free: 155 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6479/9.952, allocations: 136.9 MB / 3.615 GB, free: 326.9 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06266/10.02, allocations: 3.712 MB / 3.619 GB, free: 326.9 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01044/10.03, allocations: 1.61 MB / 3.621 GB, free: 326.9 MB / 1.248 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.01686/10.04, allocations: 2.428 MB / 3.623 GB, free: 326.7 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0256/10.07, allocations: 6.375 MB / 3.629 GB, free: 326.7 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1284/10.2, allocations: 52.08 MB / 3.68 GB, free: 324.7 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08491/10.28, allocations: 40.3 MB / 3.719 GB, free: 322.1 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001642/10.28, allocations: 1.906 kB / 3.719 GB, free: 322.1 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04344/10.33, allocations: 13.48 MB / 3.733 GB, free: 315.6 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02861/10.35, allocations: 0.5311 MB / 3.733 GB, free: 315.2 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04897/10.4, allocations: 2.028 MB / 3.735 GB, free: 314.8 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007011/10.41, allocations: 1.56 MB / 3.737 GB, free: 314.6 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1211/10.53, allocations: 55.81 MB / 3.791 GB, free: 297.4 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.128/10.66, allocations: 64.01 MB / 3.854 GB, free: 249.9 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02826/10.69, allocations: 18.62 MB / 3.872 GB, free: 233.2 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.1292/10.82, allocations: 61.53 MB / 3.932 GB, free: 172.1 MB / 1.248 GB Notification: Performance of Backend: time 1.012e-06/10.82, allocations: 0 / 3.932 GB, free: 172.1 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.1977/11.01, allocations: 85.91 MB / 4.016 GB, free: 85.17 MB / 1.248 GB Notification: Performance of SimCode: time 1.43/12.44, allocations: 192.7 MB / 4.204 GB, free: 312.3 MB / 1.249 GB Notification: Performance of Templates: time 4.228/16.67, allocations: 1.604 GB / 5.808 GB, free: 336.4 MB / 1.249 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1)