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.001118/0.001118, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001059/0.001059, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002196/0.002196, allocations: 292.5 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.9617/0.9617, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 91.86 kB / 0.6822 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3948, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.08533/0.4801, allocations: 86.27 MB / 0.8514 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03421/0.5144, allocations: 25.28 MB / 0.876 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004161/0.5186, allocations: 123.3 kB / 0.8762 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005502/0.5241, allocations: 1.797 MB / 0.8779 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.5354, allocations: 4.136 MB / 0.882 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.5457, allocations: 4.06 MB / 0.8859 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.5573, allocations: 8.369 MB / 0.8941 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00465/0.562, allocations: 2.885 MB / 0.8969 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006449/0.5685, allocations: 2.997 MB / 0.8998 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003865/0.5723, allocations: 2.419 MB / 0.9022 GB, free: 9.164 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.5735, allocations: 363.9 kB / 0.9026 GB, free: 8.809 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008093/0.5816, allocations: 3.429 MB / 0.9059 GB, free: 5.375 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.583, allocations: 0.8487 MB / 0.9067 GB, free: 4.523 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00344/0.5864, allocations: 1.909 MB / 0.9086 GB, free: 2.605 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.5976, allocations: 7.288 MB / 0.9157 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5976, allocations: 0 / 0.9157 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5976, allocations: 0 / 0.9157 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001344/0.5978, allocations: 0 / 0.9157 GB, free: 11.3 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.008008/0.6058, allocations: 3.908 MB / 0.9195 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.6058, allocations: 8.031 kB / 0.9195 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.607, allocations: 375.8 kB / 0.9199 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005047/0.6121, allocations: 2.635 MB / 0.9225 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.6122, allocations: 164.1 kB / 0.9226 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004031/0.6126, allocations: 215.9 kB / 0.9228 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004218/0.6168, allocations: 2.19 MB / 0.925 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.6169, allocations: 3.938 kB / 0.925 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/0.6171, allocations: 91.94 kB / 0.9251 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.6172, allocations: 52 kB / 0.9251 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.6203, allocations: 1.675 MB / 0.9267 GB, free: 15.71 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.01299/0.6333, allocations: 9.296 MB / 0.9358 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.6351, allocations: 1.195 MB / 0.937 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.6363, allocations: 0.8179 MB / 0.9378 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002419/0.6387, allocations: 2.922 MB / 0.9406 GB, free: 404 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.6388, allocations: 59.8 kB / 0.9407 GB, free: 336 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=148): time 3.687e-06/0.6388, allocations: 0 / 0.9407 GB, free: 336 kB / 0.7012 GB Notification: Performance of matching and sorting (n=148): time 0.005762/0.6446, allocations: 2.712 MB / 0.9433 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.6446, allocations: 94.41 kB / 0.9434 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/0.6483, allocations: 2.29 MB / 0.9457 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.6485, allocations: 57.7 kB / 0.9457 GB, free: 11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009531/0.6495, allocations: 1.189 MB / 0.9469 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004896/0.65, allocations: 0.516 MB / 0.9474 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/0.6505, allocations: 363.3 kB / 0.9477 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.6506, allocations: 309.1 kB / 0.948 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009603/0.6516, allocations: 0.5787 MB / 0.9486 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.6529, allocations: 0.9374 MB / 0.9495 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.6551, allocations: 1.48 MB / 0.951 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.6551, allocations: 0 / 0.951 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00436/0.6595, allocations: 2.135 MB / 0.953 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.6595, allocations: 11.94 kB / 0.9531 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.6595, allocations: 12 kB / 0.9531 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.6606, allocations: 277.1 kB / 0.9533 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.6619, allocations: 379.5 kB / 0.9537 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3341/0.996, allocations: 7.719 MB / 0.9612 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.998, allocations: 197.3 kB / 0.9614 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/0.9982, allocations: 74.92 kB / 0.9615 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002136/1, allocations: 1.047 MB / 0.9625 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001293/1.002, allocations: 0.9335 MB / 0.9634 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001996/1.004, allocations: 1.465 MB / 0.9649 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.536e-06/1.004, allocations: 2.281 kB / 0.9649 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.003635/1.007, allocations: 2.074 MB / 0.9669 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.007, allocations: 12.11 kB / 0.9669 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/1.007, allocations: 9.094 kB / 0.9669 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005069/1.008, allocations: 215.9 kB / 0.9671 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.009, allocations: 388.4 kB / 0.9675 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/1.014, allocations: 10.11 MB / 0.9774 GB, free: 158.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.016, allocations: 161.2 kB / 0.9775 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/1.016, allocations: 75.42 kB / 0.9776 GB, free: 158.6 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.0003879/1.017, allocations: 289.4 kB / 0.9779 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/1.017, allocations: 256.2 kB / 0.9781 GB, free: 158.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/1.021, allocations: 2.007 MB / 0.9801 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001993/1.023, allocations: 1.66 MB / 0.9817 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.023, allocations: 0 / 0.9817 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009859/1.024, allocations: 0.5451 MB / 0.9822 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/1.024, allocations: 27.84 kB / 0.9822 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009998/1.025, allocations: 51.41 kB / 0.9823 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.025, allocations: 113 kB / 0.9824 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003392/1.028, allocations: 1.916 MB / 0.9843 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003105/1.032, allocations: 2.608 MB / 0.9868 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007588/1.032, allocations: 0.6738 MB / 0.9875 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00222/1.035, allocations: 1.548 MB / 0.989 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of Backend: time 4.61e-07/1.035, allocations: 0 / 0.989 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007712/1.042, allocations: 4.488 MB / 0.9934 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of SimCode: time 0.008843/1.051, allocations: 6.356 MB / 0.9996 GB, free: 145.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.08153/1.133, allocations: 68.16 MB / 1.066 GB, free: 78.67 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)