Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001168/0.001168, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.001284/0.001284, allocations: 183.9 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.217/1.217, 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.7682/0.7682, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 63.8 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1389, allocations: 80.92 MB / 0.6654 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.3992/0.5381, allocations: 86.27 MB / 0.7496 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02755/0.5657, allocations: 25.23 MB / 0.7742 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003903/0.5696, allocations: 121.2 kB / 0.7744 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004422/0.574, allocations: 1.787 MB / 0.7761 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.5852, allocations: 4.138 MB / 0.7801 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009753/0.595, allocations: 4.037 MB / 0.7841 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.6057, allocations: 8.359 MB / 0.7922 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00407/0.6098, allocations: 2.906 MB / 0.7951 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006609/0.6164, allocations: 3.011 MB / 0.798 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004761/0.6212, allocations: 2.426 MB / 0.8004 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006122/0.6218, allocations: 356.8 kB / 0.8007 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007989/0.6298, allocations: 3.425 MB / 0.8041 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008646/0.6307, allocations: 0.8489 MB / 0.8049 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00283/0.6335, allocations: 1.9 MB / 0.8068 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.6451, allocations: 7.284 MB / 0.8139 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6451, allocations: 0 / 0.8139 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6451, allocations: 2.812 kB / 0.8139 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.00017/0.6453, allocations: 0 / 0.8139 GB, free: 3.742 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.009062/0.6544, allocations: 3.907 MB / 0.8177 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.6544, allocations: 8.094 kB / 0.8177 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.6557, allocations: 377.9 kB / 0.8181 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/0.6602, allocations: 2.63 MB / 0.8206 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.6603, allocations: 173.6 kB / 0.8208 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.6606, allocations: 210.6 kB / 0.821 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.664, allocations: 2.191 MB / 0.8231 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.6641, allocations: 3.906 kB / 0.8231 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.6643, allocations: 89.12 kB / 0.8232 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.6643, allocations: 50.22 kB / 0.8233 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.6668, allocations: 1.679 MB / 0.8249 GB, free: 12.38 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.01248/0.6793, allocations: 9.287 MB / 0.834 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.6811, allocations: 1.187 MB / 0.8351 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.6822, allocations: 0.8314 MB / 0.836 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/0.6845, allocations: 2.915 MB / 0.8388 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.6845, allocations: 47.88 kB / 0.8388 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=148): time 3.526e-06/0.6845, allocations: 0 / 0.8388 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=148): time 0.005543/0.6901, allocations: 2.725 MB / 0.8415 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.6902, allocations: 90.42 kB / 0.8416 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/0.6939, allocations: 2.29 MB / 0.8438 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.6941, allocations: 57.7 kB / 0.8439 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009624/0.6951, allocations: 1.181 MB / 0.845 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/0.6956, allocations: 0.5128 MB / 0.8455 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005393/0.6961, allocations: 379.1 kB / 0.8459 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.6962, allocations: 305.1 kB / 0.8462 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009541/0.6972, allocations: 0.5787 MB / 0.8468 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.6985, allocations: 0.9413 MB / 0.8477 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.7007, allocations: 1.476 MB / 0.8491 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.7007, allocations: 4 kB / 0.8491 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004085/0.7048, allocations: 2.125 MB / 0.8512 GB, free: 240 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7048, allocations: 8 kB / 0.8512 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/0.7049, allocations: 11.98 kB / 0.8512 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000959/0.7058, allocations: 273.4 kB / 0.8515 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.7071, allocations: 387.4 kB / 0.8518 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/0.7121, allocations: 7.732 MB / 0.8594 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.714, allocations: 186.2 kB / 0.8596 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.7142, allocations: 75.98 kB / 0.8596 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001787/0.716, allocations: 1.051 MB / 0.8607 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001265/0.7172, allocations: 0.9296 MB / 0.8616 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002096/0.7193, allocations: 1.464 MB / 0.863 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/0.7194, allocations: 8 kB / 0.863 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.003685/0.723, allocations: 2.069 MB / 0.865 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.7231, allocations: 8 kB / 0.865 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.7231, allocations: 12 kB / 0.8651 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.7236, allocations: 221.1 kB / 0.8653 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.7248, allocations: 387.4 kB / 0.8656 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006726/0.7316, allocations: 10.12 MB / 0.8755 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.7335, allocations: 154.8 kB / 0.8757 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.7337, allocations: 79.98 kB / 0.8757 GB, free: 5.379 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.0003904/0.7341, allocations: 280 kB / 0.876 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007504/0.7348, allocations: 264.7 kB / 0.8763 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/0.7384, allocations: 2.008 MB / 0.8782 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002299/0.7407, allocations: 1.656 MB / 0.8798 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.7407, allocations: 3.984 kB / 0.8798 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.7419, allocations: 0.5481 MB / 0.8804 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004903/0.7424, allocations: 36 kB / 0.8804 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.7436, allocations: 39.97 kB / 0.8804 GB, free: 480 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.7438, allocations: 113.2 kB / 0.8806 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003799/0.7476, allocations: 1.913 MB / 0.8824 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003612/0.7512, allocations: 2.605 MB / 0.885 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009108/0.7521, allocations: 0.6785 MB / 0.8856 GB, free: 11.15 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002518/0.7546, allocations: 1.539 MB / 0.8871 GB, free: 9.602 MB / 0.67 GB Notification: Performance of Backend: time 7.91e-07/0.7547, allocations: 0 / 0.8871 GB, free: 9.602 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008903/0.7636, allocations: 4.482 MB / 0.8915 GB, free: 5.094 MB / 0.67 GB Notification: Performance of SimCode: time 0.01101/0.7746, allocations: 6.363 MB / 0.8977 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of Templates: time 0.09661/0.8712, allocations: 68.08 MB / 0.9642 GB, free: 11.28 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)