Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.0013/0.0013, allocations: 110.3 kB / 16.41 MB, free: 6.441 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.001236/0.001237, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 77.12 kB / 0.5821 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1666, allocations: 80.2 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 0.6157/0.7823, allocations: 292.5 MB / 0.946 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.09769/0.88, allocations: 70.48 MB / 1.015 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01553/0.8956, allocations: 378 kB / 1.015 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01589/0.9115, allocations: 5.059 MB / 1.02 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.03658/0.9481, allocations: 13.49 MB / 1.033 GB, free: 13.78 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02275/0.9709, allocations: 9.322 MB / 1.042 GB, free: 4.547 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.8085/1.779, allocations: 222.7 MB / 1.26 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1865/1.966, allocations: 104.8 MB / 1.362 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.376/3.342, allocations: 74.04 MB / 1.435 GB, free: 76.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1098/3.452, allocations: 63.5 MB / 1.497 GB, free: 71.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0386/3.491, allocations: 10.97 MB / 1.507 GB, free: 71.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09412/3.585, allocations: 18.1 MB / 1.525 GB, free: 71.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.04587/3.631, allocations: 24.47 MB / 1.549 GB, free: 68.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.1158/3.746, allocations: 53.11 MB / 1.601 GB, free: 56.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.2254/3.972, allocations: 182.6 MB / 1.779 GB, free: 11.51 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/3.972, allocations: 6.344 kB / 1.779 GB, free: 11.51 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.004e-06/3.972, allocations: 0 / 1.779 GB, free: 11.51 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.004812/3.977, allocations: 3.094 kB / 1.779 GB, free: 11.51 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.125/5.102, allocations: 93.51 MB / 1.87 GB, free: 475.4 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/5.102, allocations: 8.875 kB / 1.87 GB, free: 475.4 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04628/5.148, allocations: 9.196 MB / 1.879 GB, free: 471 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2079/5.356, allocations: 91.36 MB / 1.969 GB, free: 423 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00378/5.36, allocations: 3.801 MB / 1.972 GB, free: 419.2 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02164/5.381, allocations: 5.062 MB / 1.977 GB, free: 414.1 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.192/5.573, allocations: 77.36 MB / 2.053 GB, free: 335 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002406/5.576, allocations: 146.7 kB / 2.053 GB, free: 334.9 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01794/5.594, allocations: 2.097 MB / 2.055 GB, free: 332.8 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001109/5.595, allocations: 1.456 MB / 2.056 GB, free: 331.4 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1341/5.729, allocations: 66.22 MB / 2.121 GB, free: 265.1 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 1.053/6.782, allocations: 380.8 MB / 2.493 GB, free: 284.2 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07069/6.852, allocations: 40.75 MB / 2.533 GB, free: 276.6 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04237/6.895, allocations: 25.9 MB / 2.558 GB, free: 267.2 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005717/6.901, allocations: 5.238 MB / 2.563 GB, free: 261.8 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006188/6.901, allocations: 397.6 kB / 2.564 GB, free: 261.5 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03274/6.934, allocations: 3.079 MB / 2.567 GB, free: 261.1 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2661): time 7.652e-05/6.934, allocations: 0 / 2.567 GB, free: 261.1 MB / 1.186 GB Notification: Performance of matching and sorting (n=2661): time 0.1524/7.087, allocations: 68.31 MB / 2.633 GB, free: 233.4 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003862/7.087, allocations: 0.8231 MB / 2.634 GB, free: 232.7 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1983/7.285, allocations: 86.42 MB / 2.719 GB, free: 168.4 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.006901/7.292, allocations: 0.6032 MB / 2.719 GB, free: 167.8 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.04566/7.338, allocations: 35.62 MB / 2.754 GB, free: 134.4 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.01524/7.353, allocations: 9.467 MB / 2.763 GB, free: 125 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03609/7.389, allocations: 8.81 MB / 2.772 GB, free: 116.2 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 4.704e-05/7.389, allocations: 305.1 kB / 2.772 GB, free: 115.9 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.038/7.427, allocations: 21.97 MB / 2.793 GB, free: 93.85 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05013/7.478, allocations: 32.96 MB / 2.826 GB, free: 57.01 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5832/8.061, allocations: 51.84 MB / 2.876 GB, free: 381.3 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003531/8.061, allocations: 68.56 kB / 2.876 GB, free: 381.3 MB / 1.186 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.1504/8.212, allocations: 69.53 MB / 2.944 GB, free: 367.6 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.000368/8.212, allocations: 106.4 kB / 2.944 GB, free: 367.6 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001113/8.213, allocations: 351.9 kB / 2.945 GB, free: 367.6 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05063/8.264, allocations: 41.14 MB / 2.985 GB, free: 363.6 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02866/8.292, allocations: 7.797 MB / 2.992 GB, free: 362.8 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08929/8.382, allocations: 134.4 MB / 3.124 GB, free: 240.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05376/8.436, allocations: 3.062 MB / 3.127 GB, free: 238.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009188/8.445, allocations: 1.618 MB / 3.128 GB, free: 236.7 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.09024/8.535, allocations: 49.96 MB / 3.177 GB, free: 195.5 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04775/8.583, allocations: 32.93 MB / 3.209 GB, free: 158.6 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.077/8.66, allocations: 51.8 MB / 3.26 GB, free: 103.2 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002706/8.66, allocations: 68 kB / 3.26 GB, free: 103.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=5346) (initialization_lambda0): time 0.144/8.804, allocations: 69.48 MB / 3.328 GB, free: 35.59 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003013/8.804, allocations: 116.2 kB / 3.328 GB, free: 35.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000926/8.805, allocations: 355.9 kB / 3.328 GB, free: 35.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5469/9.352, allocations: 41.07 MB / 3.368 GB, free: 356.1 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02878/9.381, allocations: 7.797 MB / 3.376 GB, free: 356.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09412/9.475, allocations: 136.9 MB / 3.51 GB, free: 260.8 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05531/9.531, allocations: 3.716 MB / 3.513 GB, free: 260.1 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00972/9.54, allocations: 1.613 MB / 3.515 GB, free: 259.8 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.01497/9.555, allocations: 2.416 MB / 3.517 GB, free: 258 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02441/9.58, allocations: 6.377 MB / 3.523 GB, free: 258 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1185/9.698, allocations: 52.05 MB / 3.574 GB, free: 238 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0956/9.794, allocations: 40.31 MB / 3.614 GB, free: 214.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001301/9.794, allocations: 7.219 kB / 3.614 GB, free: 214.4 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06176/9.856, allocations: 13.47 MB / 3.627 GB, free: 204.5 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02477/9.881, allocations: 0.5289 MB / 3.627 GB, free: 204 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04684/9.928, allocations: 2.027 MB / 3.629 GB, free: 202.8 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006757/9.934, allocations: 1.563 MB / 3.631 GB, free: 201.8 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1179/10.05, allocations: 55.81 MB / 3.685 GB, free: 150.8 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1247/10.18, allocations: 64.01 MB / 3.748 GB, free: 86.57 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02613/10.2, allocations: 18.63 MB / 3.766 GB, free: 67.91 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.1227/10.33, allocations: 61.54 MB / 3.826 GB, free: 6.734 MB / 1.186 GB Notification: Performance of Backend: time 9.72e-07/10.33, allocations: 0 / 3.826 GB, free: 6.734 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.6479/10.97, allocations: 85.88 MB / 3.91 GB, free: 377.3 MB / 1.186 GB Notification: Performance of SimCode: time 0.4325/11.41, allocations: 192.7 MB / 4.098 GB, free: 271.5 MB / 1.186 GB Notification: Performance of Templates: time 4.402/15.81, allocations: 1.603 GB / 5.701 GB, free: 260.5 MB / 1.186 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.pipe 2>&1)