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.001455/0.001455, allocations: 114.8 kB / 17.09 MB, free: 5.961 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.001732/0.001732, allocations: 197.5 kB / 18.03 MB, free: 5.035 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.431/1.431, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8504/0.8504, allocations: 126.1 MB / 417.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 61.66 kB / 0.5738 GB, free: 27.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1974, allocations: 78.71 MB / 0.6506 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.7941/0.9916, allocations: 293 MB / 0.9367 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.1154/1.107, allocations: 70.69 MB / 1.006 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02225/1.129, allocations: 382 kB / 1.006 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.02066/1.15, allocations: 5.192 MB / 1.011 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.04539/1.196, allocations: 13.57 MB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.02828/1.224, allocations: 9.36 MB / 1.034 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.9804/2.204, allocations: 222.8 MB / 1.251 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2142/2.419, allocations: 104.4 MB / 1.353 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.663/4.081, allocations: 73.95 MB / 1.425 GB, free: 77.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1287/4.21, allocations: 63.34 MB / 1.487 GB, free: 72.31 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.04348/4.253, allocations: 10.94 MB / 1.498 GB, free: 72.31 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09591/4.349, allocations: 18.06 MB / 1.516 GB, free: 72.31 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0594/4.409, allocations: 24.44 MB / 1.539 GB, free: 69.24 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.1488/4.558, allocations: 53.08 MB / 1.591 GB, free: 56.94 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.2805/4.838, allocations: 182.8 MB / 1.77 GB, free: 5.133 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/4.838, allocations: 0 / 1.77 GB, free: 5.133 MB / 1.108 GB Notification: Performance of FrontEnd: time 2.965e-06/4.838, allocations: 3.75 kB / 1.77 GB, free: 5.133 MB / 1.108 GB Notification: Performance of Transformations before backend: time 0.006043/4.844, allocations: 0 / 1.77 GB, free: 5.133 MB / 1.108 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.715/6.56, allocations: 95.85 MB / 1.863 GB, free: 191.1 MB / 1.155 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/6.56, allocations: 12.59 kB / 1.863 GB, free: 191.1 MB / 1.155 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05667/6.616, allocations: 9.62 MB / 1.873 GB, free: 186.3 MB / 1.155 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2315/6.848, allocations: 91.61 MB / 1.962 GB, free: 170.3 MB / 1.155 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004733/6.853, allocations: 3.792 MB / 1.966 GB, free: 168.6 MB / 1.155 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02281/6.876, allocations: 5.062 MB / 1.971 GB, free: 165.1 MB / 1.155 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2299/7.106, allocations: 77.38 MB / 2.046 GB, free: 90.15 MB / 1.155 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002832/7.108, allocations: 142.3 kB / 2.047 GB, free: 90.07 MB / 1.155 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01744/7.126, allocations: 2.099 MB / 2.049 GB, free: 87.98 MB / 1.155 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001385/7.127, allocations: 1.465 MB / 2.05 GB, free: 86.54 MB / 1.155 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1608/7.288, allocations: 66.22 MB / 2.115 GB, free: 20.72 MB / 1.155 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 1.363/8.651, allocations: 381.4 MB / 2.487 GB, free: 411.9 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08872/8.739, allocations: 40.74 MB / 2.527 GB, free: 395 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05919/8.799, allocations: 25.91 MB / 2.552 GB, free: 382.2 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006747/8.806, allocations: 5.243 MB / 2.557 GB, free: 376.6 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008223/8.806, allocations: 404.6 kB / 2.558 GB, free: 376.3 MB / 1.326 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04693/8.853, allocations: 3.157 MB / 2.561 GB, free: 375.8 MB / 1.326 GB Notification: Performance of pre-optimization done (n=2661): time 0.0001148/8.854, allocations: 7.188 kB / 2.561 GB, free: 375.8 MB / 1.326 GB Notification: Performance of matching and sorting (n=2661): time 0.1856/9.039, allocations: 68.63 MB / 2.628 GB, free: 336.3 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004748/9.04, allocations: 0.8303 MB / 2.629 GB, free: 335.3 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.245/9.285, allocations: 86.23 MB / 2.713 GB, free: 250.3 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.009365/9.294, allocations: 0.6071 MB / 2.714 GB, free: 249.7 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.05826/9.352, allocations: 36.13 MB / 2.749 GB, free: 216.4 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.0176/9.37, allocations: 9.923 MB / 2.759 GB, free: 207.6 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04376/9.414, allocations: 8.854 MB / 2.767 GB, free: 198.8 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/9.414, allocations: 309 kB / 2.767 GB, free: 198.5 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04536/9.459, allocations: 21.96 MB / 2.789 GB, free: 176.5 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0534/9.513, allocations: 32.96 MB / 2.821 GB, free: 139.6 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08966/9.602, allocations: 51.86 MB / 2.872 GB, free: 85.09 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003946/9.603, allocations: 68 kB / 2.872 GB, free: 85.03 MB / 1.326 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1697/9.772, allocations: 69.85 MB / 2.94 GB, free: 15.43 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004101/9.773, allocations: 109 kB / 2.94 GB, free: 15.33 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001236/9.774, allocations: 356 kB / 2.94 GB, free: 14.98 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7394/10.51, allocations: 41.13 MB / 2.981 GB, free: 0.5279 GB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03046/10.54, allocations: 7.802 MB / 2.988 GB, free: 0.5279 GB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09983/10.64, allocations: 134.4 MB / 3.119 GB, free: 443.7 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06678/10.71, allocations: 3.056 MB / 3.122 GB, free: 443.1 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01301/10.72, allocations: 1.617 MB / 3.124 GB, free: 442.7 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1024/10.83, allocations: 49.92 MB / 3.173 GB, free: 424.2 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06203/10.89, allocations: 32.94 MB / 3.205 GB, free: 400.1 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09166/10.98, allocations: 51.8 MB / 3.256 GB, free: 348 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003848/10.98, allocations: 69.33 kB / 3.256 GB, free: 347.9 MB / 1.326 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.1719/11.15, allocations: 69.79 MB / 3.324 GB, free: 281.2 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005373/11.15, allocations: 108 kB / 3.324 GB, free: 281.1 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001359/11.15, allocations: 356 kB / 3.324 GB, free: 280.7 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05156/11.21, allocations: 41.08 MB / 3.364 GB, free: 239.3 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02987/11.24, allocations: 7.799 MB / 3.372 GB, free: 231.5 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09354/11.33, allocations: 137 MB / 3.506 GB, free: 86.51 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07451/11.4, allocations: 3.707 MB / 3.509 GB, free: 82.86 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01041/11.41, allocations: 1.613 MB / 3.511 GB, free: 81.24 MB / 1.326 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.01792/11.43, allocations: 2.424 MB / 3.513 GB, free: 78.95 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03109/11.46, allocations: 6.703 MB / 3.52 GB, free: 73.57 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1336/11.6, allocations: 52.06 MB / 3.571 GB, free: 21.45 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7419/12.34, allocations: 40.29 MB / 3.61 GB, free: 495.8 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001467/12.34, allocations: 3.75 kB / 3.61 GB, free: 495.8 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05496/12.39, allocations: 13.75 MB / 3.623 GB, free: 495.7 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03824/12.43, allocations: 0.5374 MB / 3.624 GB, free: 495.4 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06067/12.49, allocations: 2.017 MB / 3.626 GB, free: 495 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01041/12.5, allocations: 1.555 MB / 3.627 GB, free: 494.8 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1327/12.64, allocations: 55.88 MB / 3.682 GB, free: 478.3 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.146/12.78, allocations: 64.37 MB / 3.745 GB, free: 454.7 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03116/12.81, allocations: 18.63 MB / 3.763 GB, free: 446.3 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.1431/12.96, allocations: 61.38 MB / 3.823 GB, free: 402.4 MB / 1.326 GB Notification: Performance of Backend: time 1.192e-06/12.96, allocations: 0 / 3.823 GB, free: 402.4 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.2052/13.16, allocations: 86.04 MB / 3.907 GB, free: 316 MB / 1.326 GB Notification: Performance of SimCode: time 1.635/14.8, allocations: 195 MB / 4.097 GB, free: 459.5 MB / 1.327 GB Notification: Performance of Templates: time 4.075/18.87, allocations: 1.603 GB / 5.701 GB, free: 362.4 MB / 1.327 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)