Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001444/0.001444, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.001445/0.001445, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7741/0.7741, allocations: 135.1 MB / 426.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 60.09 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1449, allocations: 80.93 MB / 0.6654 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.5853/0.7302, allocations: 292.5 MB / 0.951 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.09546/0.8257, allocations: 70.48 MB / 1.02 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01718/0.8429, allocations: 378 kB / 1.02 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01537/0.8583, allocations: 5.055 MB / 1.025 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.03543/0.8938, allocations: 13.5 MB / 1.038 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0221/0.9159, allocations: 9.318 MB / 1.047 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.7405/1.656, allocations: 222.7 MB / 1.265 GB, free: 168 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.176/1.833, allocations: 104.8 MB / 1.367 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.16/2.992, allocations: 74.05 MB / 1.44 GB, free: 78.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0939/3.086, allocations: 63.5 MB / 1.502 GB, free: 73.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.03445/3.121, allocations: 10.97 MB / 1.512 GB, free: 73.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07796/3.199, allocations: 18.1 MB / 1.53 GB, free: 73.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.04619/3.245, allocations: 24.47 MB / 1.554 GB, free: 70.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.1064/3.351, allocations: 53.12 MB / 1.606 GB, free: 56.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.2072/3.559, allocations: 182.6 MB / 1.784 GB, free: 1.965 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/3.559, allocations: 0 / 1.784 GB, free: 1.965 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.944e-06/3.559, allocations: 0 / 1.784 GB, free: 1.965 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.005065/3.564, allocations: 0 / 1.784 GB, free: 1.965 MB / 1.123 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.091/4.655, allocations: 93.52 MB / 1.875 GB, free: 470.2 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/4.655, allocations: 9.156 kB / 1.875 GB, free: 470.2 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0506/4.706, allocations: 9.197 MB / 1.884 GB, free: 465.8 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1869/4.893, allocations: 91.36 MB / 1.974 GB, free: 412.5 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003447/4.897, allocations: 3.794 MB / 1.977 GB, free: 408.7 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01833/4.915, allocations: 5.06 MB / 1.982 GB, free: 403.6 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1723/5.087, allocations: 77.36 MB / 2.058 GB, free: 324.5 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002389/5.09, allocations: 150.7 kB / 2.058 GB, free: 324.4 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01676/5.106, allocations: 2.091 MB / 2.06 GB, free: 322.3 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001222/5.108, allocations: 1.46 MB / 2.061 GB, free: 320.8 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.137/5.245, allocations: 66.22 MB / 2.126 GB, free: 254.6 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.9586/6.203, allocations: 380.8 MB / 2.498 GB, free: 284.1 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07356/6.277, allocations: 40.76 MB / 2.538 GB, free: 272.8 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04282/6.32, allocations: 25.89 MB / 2.563 GB, free: 263.4 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005684/6.326, allocations: 5.242 MB / 2.568 GB, free: 258 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006883/6.326, allocations: 405 kB / 2.569 GB, free: 257.7 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03398/6.36, allocations: 3.072 MB / 2.572 GB, free: 257.3 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2661): time 6.657e-05/6.36, allocations: 2.844 kB / 2.572 GB, free: 257.3 MB / 1.186 GB Notification: Performance of matching and sorting (n=2661): time 0.1525/6.513, allocations: 68.33 MB / 2.638 GB, free: 225.8 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003438/6.513, allocations: 0.8256 MB / 2.639 GB, free: 225.1 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1849/6.698, allocations: 86.41 MB / 2.723 GB, free: 153.9 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.006914/6.705, allocations: 0.6071 MB / 2.724 GB, free: 153.3 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.04576/6.751, allocations: 35.61 MB / 2.759 GB, free: 119.8 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.01446/6.765, allocations: 9.467 MB / 2.768 GB, free: 110.4 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03566/6.801, allocations: 8.806 MB / 2.777 GB, free: 101.6 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 4.303e-05/6.801, allocations: 305.1 kB / 2.777 GB, free: 101.2 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03655/6.838, allocations: 21.97 MB / 2.798 GB, free: 79.25 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04489/6.883, allocations: 32.96 MB / 2.831 GB, free: 42.41 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5795/7.462, allocations: 51.84 MB / 2.881 GB, free: 378 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002926/7.462, allocations: 67.62 kB / 2.881 GB, free: 378 MB / 1.186 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1381/7.601, allocations: 69.54 MB / 2.949 GB, free: 361.7 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/7.601, allocations: 107.6 kB / 2.949 GB, free: 361.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009478/7.602, allocations: 351.8 kB / 2.95 GB, free: 361.7 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04674/7.648, allocations: 41.13 MB / 2.99 GB, free: 357.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02792/7.676, allocations: 7.802 MB / 2.997 GB, free: 357 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08698/7.763, allocations: 134.4 MB / 3.129 GB, free: 230 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05402/7.817, allocations: 3.064 MB / 3.132 GB, free: 227.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00841/7.826, allocations: 1.612 MB / 3.133 GB, free: 226.3 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.08431/7.91, allocations: 49.96 MB / 3.182 GB, free: 182.2 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04651/7.957, allocations: 32.94 MB / 3.214 GB, free: 145.2 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07398/8.031, allocations: 51.8 MB / 3.265 GB, free: 89.86 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002697/8.031, allocations: 70.73 kB / 3.265 GB, free: 89.79 MB / 1.186 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.1382/8.169, allocations: 69.48 MB / 3.333 GB, free: 22.21 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002823/8.17, allocations: 112.9 kB / 3.333 GB, free: 22.1 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009336/8.171, allocations: 353.6 kB / 3.333 GB, free: 21.75 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5165/8.687, allocations: 41.07 MB / 3.373 GB, free: 355.5 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02695/8.714, allocations: 7.8 MB / 3.381 GB, free: 355.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08441/8.799, allocations: 136.9 MB / 3.515 GB, free: 259.4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05502/8.854, allocations: 3.717 MB / 3.518 GB, free: 258.7 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008225/8.862, allocations: 1.614 MB / 3.52 GB, free: 258.4 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.01542/8.877, allocations: 2.422 MB / 3.522 GB, free: 256.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02537/8.903, allocations: 6.382 MB / 3.528 GB, free: 256.7 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1516/9.054, allocations: 52.06 MB / 3.579 GB, free: 236.6 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07841/9.133, allocations: 40.3 MB / 3.619 GB, free: 203.1 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001311/9.133, allocations: 3.938 kB / 3.619 GB, free: 203.1 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04678/9.18, allocations: 13.47 MB / 3.632 GB, free: 193.3 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02647/9.206, allocations: 0.534 MB / 3.632 GB, free: 192.8 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04684/9.253, allocations: 2.014 MB / 3.634 GB, free: 191.5 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006591/9.26, allocations: 1.563 MB / 3.636 GB, free: 190.6 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1179/9.378, allocations: 55.82 MB / 3.69 GB, free: 136.2 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1191/9.497, allocations: 64.01 MB / 3.753 GB, free: 71.96 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02571/9.523, allocations: 18.63 MB / 3.771 GB, free: 53.29 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.6553/10.18, allocations: 61.53 MB / 3.831 GB, free: 312.4 MB / 1.186 GB Notification: Performance of Backend: time 2.605e-06/10.18, allocations: 1.125 kB / 3.831 GB, free: 312.4 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.2189/10.4, allocations: 85.89 MB / 3.915 GB, free: 280.9 MB / 1.186 GB Notification: Performance of SimCode: time 0.514/10.91, allocations: 192.6 MB / 4.103 GB, free: 188.8 MB / 1.186 GB Notification: Performance of Templates: time 4.843/15.75, allocations: 1.603 GB / 5.706 GB, free: 247 MB / 1.186 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1)