Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 114.4 kB / 16.42 MB, free: 6.449 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.001339/0.001339, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7434/0.7434, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 61.75 kB / 0.5821 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1445, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.0798/0.2244, allocations: 86.27 MB / 0.7446 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3862/0.6106, allocations: 25.23 MB / 0.7693 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004274/0.6149, allocations: 120.2 kB / 0.7694 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004788/0.6197, allocations: 1.784 MB / 0.7711 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.6306, allocations: 4.136 MB / 0.7752 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0105/0.6411, allocations: 4.048 MB / 0.7791 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.6516, allocations: 8.359 MB / 0.7873 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004661/0.6563, allocations: 2.898 MB / 0.7901 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006879/0.6632, allocations: 3.012 MB / 0.7931 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004585/0.6678, allocations: 2.421 MB / 0.7954 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.6689, allocations: 357.4 kB / 0.7958 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008854/0.6778, allocations: 3.42 MB / 0.7991 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.6793, allocations: 0.8542 MB / 0.7999 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003881/0.6832, allocations: 1.901 MB / 0.8018 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.6959, allocations: 7.285 MB / 0.8089 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.696, allocations: 0 / 0.8089 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.696, allocations: 0 / 0.8089 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001625/0.6961, allocations: 0 / 0.8089 GB, free: 6.117 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.008879/0.705, allocations: 3.905 MB / 0.8127 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.7051, allocations: 8.406 kB / 0.8127 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.7065, allocations: 377.4 kB / 0.8131 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/0.7114, allocations: 2.637 MB / 0.8157 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/0.7115, allocations: 160.3 kB / 0.8158 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.7118, allocations: 229.5 kB / 0.816 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/0.7153, allocations: 2.191 MB / 0.8182 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.7154, allocations: 6.312 kB / 0.8182 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.7155, allocations: 83.62 kB / 0.8183 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.7156, allocations: 51.03 kB / 0.8183 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.7182, allocations: 1.676 MB / 0.8199 GB, free: 14.76 MB / 0.6075 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.01174/0.7299, allocations: 9.29 MB / 0.829 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.7316, allocations: 1.185 MB / 0.8302 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.7326, allocations: 0.8257 MB / 0.831 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/0.735, allocations: 2.915 MB / 0.8338 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.735, allocations: 59.81 kB / 0.8339 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=148): time 3.566e-06/0.735, allocations: 0 / 0.8339 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=148): time 0.005222/0.7403, allocations: 2.718 MB / 0.8365 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.7403, allocations: 94.36 kB / 0.8366 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/0.7432, allocations: 2.29 MB / 0.8389 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.7434, allocations: 61.7 kB / 0.8389 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008887/0.7443, allocations: 1.179 MB / 0.8401 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.7447, allocations: 0.5154 MB / 0.8406 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/0.7452, allocations: 368.7 kB / 0.8409 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.7453, allocations: 305.1 kB / 0.8412 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009217/0.7462, allocations: 0.5826 MB / 0.8418 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.7475, allocations: 0.9374 MB / 0.8427 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.7495, allocations: 1.486 MB / 0.8442 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.7495, allocations: 0 / 0.8442 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00381/0.7534, allocations: 2.128 MB / 0.8462 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.7534, allocations: 12 kB / 0.8462 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.7534, allocations: 8 kB / 0.8463 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009458/0.7544, allocations: 276.9 kB / 0.8465 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.7556, allocations: 383.5 kB / 0.8469 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00515/0.7608, allocations: 7.722 MB / 0.8544 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.7626, allocations: 182.1 kB / 0.8546 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.7628, allocations: 75.98 kB / 0.8547 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00174/0.7645, allocations: 1.051 MB / 0.8557 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001231/0.7658, allocations: 0.9297 MB / 0.8566 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002076/0.7678, allocations: 1.475 MB / 0.858 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.7679, allocations: 4 kB / 0.8581 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.003698/0.7716, allocations: 2.069 MB / 0.8601 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7716, allocations: 8.625 kB / 0.8601 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.7716, allocations: 8 kB / 0.8601 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/0.7721, allocations: 225 kB / 0.8603 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.7734, allocations: 387.4 kB / 0.8607 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.7804, allocations: 10.11 MB / 0.8705 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.7826, allocations: 162.8 kB / 0.8707 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.7828, allocations: 79.92 kB / 0.8708 GB, free: 8.672 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003987/0.7832, allocations: 279.8 kB / 0.871 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006834/0.7839, allocations: 260.8 kB / 0.8713 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.7873, allocations: 2.011 MB / 0.8733 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00226/0.7895, allocations: 1.651 MB / 0.8749 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7895, allocations: 0 / 0.8749 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.7907, allocations: 0.5481 MB / 0.8754 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/0.791, allocations: 28 kB / 0.8754 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.792, allocations: 47.97 kB / 0.8755 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.7922, allocations: 113.1 kB / 0.8756 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003798/0.796, allocations: 1.919 MB / 0.8775 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003625/0.7997, allocations: 2.598 MB / 0.88 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008708/0.8005, allocations: 0.6785 MB / 0.8807 GB, free: 14.45 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002174/0.8027, allocations: 1.543 MB / 0.8822 GB, free: 12.9 MB / 0.67 GB Notification: Performance of Backend: time 6.51e-07/0.8027, allocations: 0 / 0.8822 GB, free: 12.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007966/0.8107, allocations: 4.491 MB / 0.8865 GB, free: 8.395 MB / 0.67 GB Notification: Performance of SimCode: time 0.01021/0.8209, allocations: 6.356 MB / 0.8928 GB, free: 2.086 MB / 0.67 GB Notification: Performance of Templates: time 0.1013/0.9223, allocations: 68.07 MB / 0.9592 GB, free: 14.62 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)