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.001176/0.001176, allocations: 114 kB / 16.42 MB, free: 6.402 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.001159/0.001159, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002122, allocations: 294.2 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.947/0.947, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 95.84 kB / 0.6822 GB, free: 6.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4636, allocations: 86.98 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.806/1.27, allocations: 292.5 MB / 1.053 GB, free: 35.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.08036/1.35, allocations: 70.63 MB / 1.122 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01346/1.364, allocations: 385.9 kB / 1.122 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0147/1.378, allocations: 5.048 MB / 1.127 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.03531/1.414, allocations: 13.53 MB / 1.14 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02273/1.436, allocations: 9.344 MB / 1.149 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 1.21/2.646, allocations: 222.8 MB / 1.367 GB, free: 18.81 MB / 0.9357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1606/2.807, allocations: 104.6 MB / 1.469 GB, free: 18.52 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1324/2.939, allocations: 73.9 MB / 1.541 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1085/3.048, allocations: 63.41 MB / 1.603 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.03607/3.084, allocations: 10.97 MB / 1.614 GB, free: 3.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07398/3.158, allocations: 18.1 MB / 1.632 GB, free: 1.926 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.04392/3.202, allocations: 24.48 MB / 1.655 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.1226/3.325, allocations: 53.23 MB / 1.707 GB, free: 6.504 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 1.335/4.659, allocations: 182.6 MB / 1.886 GB, free: 70.95 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/4.659, allocations: 0 / 1.886 GB, free: 70.95 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.146e-06/4.659, allocations: 0 / 1.886 GB, free: 70.95 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.005635/4.665, allocations: 0 / 1.886 GB, free: 70.95 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.2702/4.935, allocations: 93.54 MB / 1.977 GB, free: 26.94 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/4.935, allocations: 11.59 kB / 1.977 GB, free: 26.94 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04813/4.983, allocations: 9.194 MB / 1.986 GB, free: 22.39 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1953/5.179, allocations: 91.35 MB / 2.075 GB, free: 9.27 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00419/5.183, allocations: 3.792 MB / 2.079 GB, free: 7.555 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0215/5.204, allocations: 5.066 MB / 2.084 GB, free: 5.879 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2256/5.43, allocations: 77.38 MB / 2.16 GB, free: 11.95 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002366/5.432, allocations: 148 kB / 2.16 GB, free: 11.86 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02374/5.456, allocations: 2.093 MB / 2.162 GB, free: 9.781 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001495/5.458, allocations: 1.461 MB / 2.163 GB, free: 8.344 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.67/6.128, allocations: 66.23 MB / 2.228 GB, free: 448.8 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.5206/6.648, allocations: 381 MB / 2.6 GB, free: 103.9 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06945/6.718, allocations: 40.75 MB / 2.64 GB, free: 63.81 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04292/6.761, allocations: 25.9 MB / 2.665 GB, free: 37.91 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005566/6.766, allocations: 5.248 MB / 2.67 GB, free: 31.69 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006946/6.767, allocations: 402.2 kB / 2.67 GB, free: 31.28 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0334/6.801, allocations: 3.066 MB / 2.673 GB, free: 28.25 MB / 1.248 GB Notification: Performance of pre-optimization done (n=2661): time 5.215e-05/6.801, allocations: 4 kB / 2.673 GB, free: 28.25 MB / 1.248 GB Notification: Performance of matching and sorting (n=2661): time 0.7199/7.521, allocations: 68.31 MB / 2.74 GB, free: 406.7 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002607/7.521, allocations: 0.8258 MB / 2.741 GB, free: 405.9 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1946/7.715, allocations: 86.42 MB / 2.825 GB, free: 388.2 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.007746/7.723, allocations: 0.6049 MB / 2.826 GB, free: 387.8 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.05283/7.776, allocations: 35.62 MB / 2.861 GB, free: 362.3 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.02114/7.797, allocations: 9.462 MB / 2.87 GB, free: 355.1 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04017/7.837, allocations: 8.81 MB / 2.879 GB, free: 351.1 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 5.061e-05/7.838, allocations: 306.2 kB / 2.879 GB, free: 350.8 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04096/7.878, allocations: 21.96 MB / 2.9 GB, free: 342.8 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05626/7.935, allocations: 32.96 MB / 2.933 GB, free: 314.6 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08717/8.022, allocations: 51.85 MB / 2.983 GB, free: 265.3 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003339/8.022, allocations: 68.94 kB / 2.983 GB, free: 265.2 MB / 1.248 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1727/8.195, allocations: 69.54 MB / 3.051 GB, free: 195.7 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003721/8.195, allocations: 114 kB / 3.051 GB, free: 195.6 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001437/8.197, allocations: 344 kB / 3.052 GB, free: 195.3 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04893/8.246, allocations: 41.14 MB / 3.092 GB, free: 153.8 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03133/8.277, allocations: 7.803 MB / 3.099 GB, free: 146 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6343/8.912, allocations: 134.3 MB / 3.231 GB, free: 307 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05852/8.97, allocations: 3.066 MB / 3.234 GB, free: 307 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01004/8.98, allocations: 1.615 MB / 3.235 GB, free: 307 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.09857/9.079, allocations: 49.96 MB / 3.284 GB, free: 302.1 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05087/9.13, allocations: 32.94 MB / 3.316 GB, free: 282.4 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07446/9.204, allocations: 51.79 MB / 3.367 GB, free: 254.5 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003139/9.205, allocations: 71.25 kB / 3.367 GB, free: 254.5 MB / 1.248 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.1373/9.342, allocations: 69.48 MB / 3.435 GB, free: 201.6 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/9.342, allocations: 111.9 kB / 3.435 GB, free: 201.5 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008861/9.343, allocations: 348 kB / 3.435 GB, free: 201.2 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04686/9.39, allocations: 41.06 MB / 3.475 GB, free: 162 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02995/9.42, allocations: 7.802 MB / 3.483 GB, free: 155.2 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.66/10.08, allocations: 136.9 MB / 3.616 GB, free: 324.2 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07342/10.15, allocations: 3.721 MB / 3.62 GB, free: 324.2 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01319/10.17, allocations: 1.613 MB / 3.622 GB, free: 324.2 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.02077/10.19, allocations: 2.414 MB / 3.624 GB, free: 324 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03364/10.22, allocations: 6.377 MB / 3.63 GB, free: 324 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1311/10.35, allocations: 52.08 MB / 3.681 GB, free: 322 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07677/10.43, allocations: 40.3 MB / 3.72 GB, free: 319.3 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001562/10.43, allocations: 0 / 3.72 GB, free: 319.3 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04583/10.47, allocations: 13.47 MB / 3.734 GB, free: 312.8 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02857/10.5, allocations: 0.5314 MB / 3.734 GB, free: 312.5 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05245/10.56, allocations: 2.022 MB / 3.736 GB, free: 312.1 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007288/10.56, allocations: 1.561 MB / 3.738 GB, free: 311.9 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.123/10.69, allocations: 55.82 MB / 3.792 GB, free: 294.6 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1179/10.8, allocations: 64.01 MB / 3.855 GB, free: 250.1 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02595/10.83, allocations: 18.62 MB / 3.873 GB, free: 233.5 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.1237/10.95, allocations: 61.54 MB / 3.933 GB, free: 172.3 MB / 1.248 GB Notification: Performance of Backend: time 1.132e-06/10.95, allocations: 0 / 3.933 GB, free: 172.3 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.1875/11.14, allocations: 85.92 MB / 4.017 GB, free: 85.43 MB / 1.248 GB Notification: Performance of SimCode: time 1.443/12.58, allocations: 192.7 MB / 4.205 GB, free: 312 MB / 1.249 GB Notification: Performance of Templates: time 3.907/16.49, allocations: 1.604 GB / 5.809 GB, free: 44.99 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)