Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001116/0.001116, allocations: 110.2 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.001056/0.001056, allocations: 189.6 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00221/0.00221, allocations: 291.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9351/0.9351, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 99.84 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3979, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.0825/0.4804, allocations: 86.28 MB / 0.8514 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.033/0.5135, allocations: 25.28 MB / 0.8761 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003905/0.5174, allocations: 123.3 kB / 0.8762 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004979/0.5224, allocations: 1.785 MB / 0.8779 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.5328, allocations: 4.031 MB / 0.8818 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009891/0.5427, allocations: 4.06 MB / 0.8858 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01043/0.5531, allocations: 8.347 MB / 0.894 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004436/0.5576, allocations: 2.885 MB / 0.8968 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006061/0.5637, allocations: 3.002 MB / 0.8997 GB, free: 11.68 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003987/0.5677, allocations: 2.415 MB / 0.9021 GB, free: 9.25 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.5687, allocations: 356 kB / 0.9024 GB, free: 8.902 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007887/0.5766, allocations: 3.439 MB / 0.9058 GB, free: 5.461 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.5779, allocations: 0.8448 MB / 0.9066 GB, free: 4.613 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003159/0.581, allocations: 1.909 MB / 0.9085 GB, free: 2.695 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.5918, allocations: 7.284 MB / 0.9156 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5919, allocations: 0 / 0.9156 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5919, allocations: 0 / 0.9156 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001467/0.592, allocations: 0 / 0.9156 GB, free: 11.39 MB / 0.6856 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.007857/0.5999, allocations: 3.912 MB / 0.9194 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.5999, allocations: 8.031 kB / 0.9194 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.601, allocations: 371.8 kB / 0.9198 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004226/0.6052, allocations: 2.637 MB / 0.9223 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.6053, allocations: 164.1 kB / 0.9225 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/0.6056, allocations: 219.9 kB / 0.9227 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/0.6092, allocations: 2.186 MB / 0.9248 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/0.6092, allocations: 11.94 kB / 0.9248 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.6094, allocations: 84 kB / 0.9249 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.6095, allocations: 48 kB / 0.925 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.6122, allocations: 1.683 MB / 0.9266 GB, free: 15.8 MB / 0.7012 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.01165/0.6238, allocations: 9.292 MB / 0.9357 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.6255, allocations: 1.191 MB / 0.9369 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.6266, allocations: 0.8297 MB / 0.9377 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002344/0.629, allocations: 2.918 MB / 0.9405 GB, free: 492 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.629, allocations: 47.88 kB / 0.9406 GB, free: 436 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=148): time 3.436e-06/0.629, allocations: 0 / 0.9406 GB, free: 436 kB / 0.7012 GB Notification: Performance of matching and sorting (n=148): time 0.005432/0.6345, allocations: 2.728 MB / 0.9432 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.6345, allocations: 90.42 kB / 0.9433 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/0.6377, allocations: 2.29 MB / 0.9455 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.6379, allocations: 53.7 kB / 0.9456 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000891/0.6388, allocations: 1.193 MB / 0.9468 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004716/0.6392, allocations: 0.5121 MB / 0.9473 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00046/0.6397, allocations: 367.3 kB / 0.9476 GB, free: 9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.6398, allocations: 301.1 kB / 0.9479 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009277/0.6407, allocations: 0.5826 MB / 0.9485 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.6419, allocations: 0.9335 MB / 0.9494 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.644, allocations: 1.488 MB / 0.9508 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.6441, allocations: 0 / 0.9508 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00408/0.6481, allocations: 2.143 MB / 0.9529 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6482, allocations: 8 kB / 0.9529 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.6482, allocations: 8 kB / 0.9529 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009656/0.6492, allocations: 269.5 kB / 0.9532 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.6505, allocations: 387.4 kB / 0.9536 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3311/0.9816, allocations: 7.72 MB / 0.9611 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.9836, allocations: 185.8 kB / 0.9613 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.9838, allocations: 75.23 kB / 0.9614 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002144/0.986, allocations: 1.047 MB / 0.9624 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00134/0.9873, allocations: 0.9334 MB / 0.9633 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002007/0.9894, allocations: 1.475 MB / 0.9647 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.591e-06/0.9894, allocations: 1.656 kB / 0.9647 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.003691/0.9931, allocations: 2.075 MB / 0.9668 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9931, allocations: 7.797 kB / 0.9668 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.9931, allocations: 9.812 kB / 0.9668 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.9936, allocations: 224 kB / 0.967 GB, free: 168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.9949, allocations: 381.4 kB / 0.9673 GB, free: 167.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005888/1.001, allocations: 10.09 MB / 0.9772 GB, free: 158.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.003, allocations: 172.6 kB / 0.9774 GB, free: 158.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/1.003, allocations: 75.58 kB / 0.9774 GB, free: 158.1 MB / 0.7169 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.0003976/1.003, allocations: 282.8 kB / 0.9777 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/1.004, allocations: 263.2 kB / 0.978 GB, free: 157.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.007, allocations: 2.013 MB / 0.9799 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002039/1.009, allocations: 1.652 MB / 0.9815 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.009, allocations: 7.875 kB / 0.9815 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/1.01, allocations: 0.5449 MB / 0.9821 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/1.01, allocations: 28.81 kB / 0.9821 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.012, allocations: 53.3 kB / 0.9822 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.012, allocations: 105.7 kB / 0.9823 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00349/1.015, allocations: 1.915 MB / 0.9841 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003057/1.018, allocations: 2.604 MB / 0.9867 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007438/1.019, allocations: 0.6793 MB / 0.9873 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001877/1.021, allocations: 1.54 MB / 0.9888 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of Backend: time 1.293e-06/1.021, allocations: 3.938 kB / 0.9888 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006776/1.028, allocations: 4.487 MB / 0.9932 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of SimCode: time 0.008924/1.037, allocations: 6.36 MB / 0.9994 GB, free: 145.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.08284/1.12, allocations: 68.16 MB / 1.066 GB, free: 78.02 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)