Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001406/0.001413, allocations: 109.2 kB / 17.09 MB, free: 5.836 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.001514/0.001514, allocations: 194.7 kB / 18.02 MB, free: 4.961 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7165/0.7165, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.41 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.199, allocations: 76.19 MB / 0.6328 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.7634/0.9626, allocations: 292.5 MB / 0.9185 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1119/1.075, allocations: 70.62 MB / 0.9874 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01829/1.093, allocations: 378 kB / 0.9878 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01688/1.11, allocations: 4.919 MB / 0.9926 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.04186/1.152, allocations: 12.87 MB / 1.005 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.02672/1.178, allocations: 9.311 MB / 1.014 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 1.308/2.486, allocations: 222.6 MB / 1.232 GB, free: 5.145 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2246/2.711, allocations: 104.6 MB / 1.334 GB, free: 13.59 MB / 0.9357 GB Notification: Performance of NFEvalConstants.evaluate: time 1.369/4.08, allocations: 73.88 MB / 1.406 GB, free: 75.68 MB / 0.9827 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09904/4.179, allocations: 63.41 MB / 1.468 GB, free: 70.75 MB / 0.9827 GB Notification: Performance of NFPackage.collectConstants: time 0.03647/4.215, allocations: 10.97 MB / 1.479 GB, free: 70.75 MB / 0.9827 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08747/4.303, allocations: 18.09 MB / 1.496 GB, free: 70.75 MB / 0.9827 GB Notification: Performance of NFScalarize.scalarize: time 0.05568/4.359, allocations: 24.48 MB / 1.52 GB, free: 67.68 MB / 0.9827 GB Notification: Performance of NFVerifyModel.verify: time 0.1365/4.495, allocations: 53.12 MB / 1.572 GB, free: 53.73 MB / 0.9827 GB Notification: Performance of NFConvertDAE.convert: time 0.2357/4.731, allocations: 182.6 MB / 1.75 GB, free: 10.85 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/4.731, allocations: 4 kB / 1.75 GB, free: 10.85 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.785e-06/4.731, allocations: 0 / 1.75 GB, free: 10.85 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.007065/4.738, allocations: 0 / 1.75 GB, free: 10.85 MB / 1.092 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.046/5.784, allocations: 93.54 MB / 1.842 GB, free: 456 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/5.784, allocations: 11.91 kB / 1.842 GB, free: 456 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04788/5.832, allocations: 9.193 MB / 1.851 GB, free: 451.5 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.177/6.009, allocations: 91.36 MB / 1.94 GB, free: 386.8 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003443/6.013, allocations: 3.793 MB / 1.944 GB, free: 383 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02007/6.033, allocations: 5.059 MB / 1.949 GB, free: 377.9 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1738/6.206, allocations: 77.38 MB / 2.024 GB, free: 298.7 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002472/6.209, allocations: 154.6 kB / 2.024 GB, free: 298.6 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01776/6.227, allocations: 2.096 MB / 2.026 GB, free: 296.5 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001069/6.228, allocations: 1.456 MB / 2.028 GB, free: 295.1 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1272/6.355, allocations: 66.23 MB / 2.092 GB, free: 228.8 MB / 1.139 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.9381/7.293, allocations: 381 MB / 2.464 GB, free: 262 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06773/7.361, allocations: 40.75 MB / 2.504 GB, free: 247 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03913/7.4, allocations: 25.9 MB / 2.53 GB, free: 235.6 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005504/7.406, allocations: 5.241 MB / 2.535 GB, free: 230 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005978/7.406, allocations: 402.1 kB / 2.535 GB, free: 229.7 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03332/7.44, allocations: 3.07 MB / 2.538 GB, free: 229.2 MB / 1.139 GB Notification: Performance of pre-optimization done (n=2661): time 6.453e-05/7.44, allocations: 0 / 2.538 GB, free: 229.2 MB / 1.139 GB Notification: Performance of matching and sorting (n=2661): time 0.1472/7.587, allocations: 68.32 MB / 2.605 GB, free: 191.1 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002242/7.587, allocations: 0.8303 MB / 2.606 GB, free: 190.1 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1747/7.762, allocations: 86.41 MB / 2.69 GB, free: 104.9 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.007914/7.77, allocations: 0.6098 MB / 2.691 GB, free: 104.3 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.04503/7.815, allocations: 35.62 MB / 2.725 GB, free: 70.66 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.01482/7.83, allocations: 9.473 MB / 2.735 GB, free: 61.26 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03236/7.862, allocations: 8.806 MB / 2.743 GB, free: 52.43 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/7.862, allocations: 305.1 kB / 2.743 GB, free: 52.13 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03645/7.899, allocations: 21.96 MB / 2.765 GB, free: 30.14 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5402/8.439, allocations: 32.96 MB / 2.797 GB, free: 368.7 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0831/8.522, allocations: 51.86 MB / 2.848 GB, free: 353.4 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005048/8.523, allocations: 70.62 kB / 2.848 GB, free: 353.4 MB / 1.139 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1421/8.665, allocations: 69.53 MB / 2.916 GB, free: 329.4 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.000246/8.665, allocations: 109.4 kB / 2.916 GB, free: 329.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001141/8.666, allocations: 360.1 kB / 2.916 GB, free: 329.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05012/8.716, allocations: 41.13 MB / 2.956 GB, free: 321.3 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02722/8.744, allocations: 7.805 MB / 2.964 GB, free: 314.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09176/8.836, allocations: 134.3 MB / 3.095 GB, free: 181.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05813/8.894, allocations: 3.061 MB / 3.098 GB, free: 178.2 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009383/8.903, allocations: 1.617 MB / 3.1 GB, free: 176.6 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.08357/8.987, allocations: 49.96 MB / 3.148 GB, free: 126.6 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04671/9.034, allocations: 32.94 MB / 3.181 GB, free: 89.62 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07382/9.107, allocations: 51.8 MB / 3.231 GB, free: 34.24 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002467/9.108, allocations: 68 kB / 3.231 GB, free: 34.18 MB / 1.139 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.6772/9.785, allocations: 69.49 MB / 3.299 GB, free: 329.4 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/9.785, allocations: 111.3 kB / 3.299 GB, free: 329.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008999/9.786, allocations: 356.1 kB / 3.3 GB, free: 329.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04783/9.834, allocations: 41.06 MB / 3.34 GB, free: 328.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02791/9.862, allocations: 7.8 MB / 3.347 GB, free: 328.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09305/9.955, allocations: 136.9 MB / 3.481 GB, free: 218.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06197/10.02, allocations: 3.72 MB / 3.485 GB, free: 218 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008881/10.03, allocations: 1.614 MB / 3.486 GB, free: 217.7 MB / 1.139 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.01681/10.04, allocations: 2.413 MB / 3.489 GB, free: 216 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02787/10.07, allocations: 6.38 MB / 3.495 GB, free: 214.8 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.103/10.17, allocations: 52.07 MB / 3.546 GB, free: 173.8 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06982/10.24, allocations: 40.29 MB / 3.585 GB, free: 133.3 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001089/10.24, allocations: 0 / 3.585 GB, free: 133.3 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03995/10.28, allocations: 13.47 MB / 3.598 GB, free: 119.7 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02556/10.31, allocations: 0.5273 MB / 3.599 GB, free: 119.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04551/10.35, allocations: 2.033 MB / 3.601 GB, free: 117.3 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005722/10.36, allocations: 1.561 MB / 3.602 GB, free: 115.7 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1027/10.46, allocations: 55.81 MB / 3.657 GB, free: 60.48 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.6293/11.09, allocations: 64 MB / 3.719 GB, free: 319.2 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03057/11.12, allocations: 18.63 MB / 3.737 GB, free: 319 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.1258/11.25, allocations: 61.53 MB / 3.798 GB, free: 301.7 MB / 1.139 GB Notification: Performance of Backend: time 1.172e-06/11.25, allocations: 0 / 3.798 GB, free: 301.7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.1984/11.45, allocations: 85.9 MB / 3.881 GB, free: 263.1 MB / 1.139 GB Notification: Performance of SimCode: time 0.4322/11.88, allocations: 192.7 MB / 4.07 GB, free: 93.04 MB / 1.139 GB Notification: Performance of Templates: time 4.123/16, allocations: 1.604 GB / 5.673 GB, free: 96.7 MB / 1.139 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1)