Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001359/0.001359, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.012/1.012, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 11.98 kB / 0.5159 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 83.41 MB / 0.5973 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.418/0.6298, allocations: 54.51 MB / 0.6506 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01986/0.6497, allocations: 14.45 MB / 0.6647 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00328/0.653, allocations: 56.3 kB / 0.6647 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004357/0.6574, allocations: 1.08 MB / 0.6658 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007991/0.6654, allocations: 2.267 MB / 0.668 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009003/0.6744, allocations: 2.694 MB / 0.6706 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006528/0.681, allocations: 2.646 MB / 0.6732 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.6829, allocations: 1.073 MB / 0.6743 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.6857, allocations: 1.195 MB / 0.6754 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.6875, allocations: 0.8686 MB / 0.6763 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.6877, allocations: 77.91 kB / 0.6763 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008322/0.6961, allocations: 1.931 MB / 0.6782 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009637/0.6971, allocations: 342.7 kB / 0.6786 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.6983, allocations: 403.3 kB / 0.6789 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009811/0.7082, allocations: 3.337 MB / 0.6822 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7082, allocations: 0 / 0.6822 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.476e-06/0.7082, allocations: 1.062 kB / 0.6822 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001228/0.7084, allocations: 0 / 0.6822 GB, free: 8.258 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.007093/0.7154, allocations: 2.06 MB / 0.6842 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.7155, allocations: 8.25 kB / 0.6842 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007399/0.7163, allocations: 210.6 kB / 0.6844 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.7197, allocations: 1.425 MB / 0.6858 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.98e-05/0.7198, allocations: 87.45 kB / 0.6859 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.72, allocations: 108.9 kB / 0.686 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.7223, allocations: 1.088 MB / 0.6871 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.7223, allocations: 2.625 kB / 0.6871 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.7225, allocations: 46.33 kB / 0.6871 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.7225, allocations: 25.22 kB / 0.6871 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.7242, allocations: 0.8293 MB / 0.6879 GB, free: 5.02 MB / 0.5137 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.01014/0.7343, allocations: 6.866 MB / 0.6947 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.7354, allocations: 0.7418 MB / 0.6954 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.7366, allocations: 1.271 MB / 0.6966 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.7367, allocations: 45.31 kB / 0.6967 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/0.7367, allocations: 0 / 0.6967 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72): time 0.002514/0.7392, allocations: 1.166 MB / 0.6978 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.7393, allocations: 86.14 kB / 0.6979 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.742, allocations: 1.531 MB / 0.6994 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/0.7421, allocations: 42.92 kB / 0.6994 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006986/0.7428, allocations: 0.7071 MB / 0.7001 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.7431, allocations: 264 kB / 0.7004 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.7432, allocations: 20.22 kB / 0.7004 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7433, allocations: 338.4 kB / 0.7007 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/0.7439, allocations: 279.1 kB / 0.701 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.7446, allocations: 475.7 kB / 0.7014 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.7452, allocations: 357.2 kB / 0.7018 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.7453, allocations: 0.9375 kB / 0.7018 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00193/0.7472, allocations: 1.012 MB / 0.7027 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005297/0.7477, allocations: 1.359 MB / 0.7041 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.7478, allocations: 6.688 kB / 0.7041 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.7481, allocations: 72.47 kB / 0.7042 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/0.7488, allocations: 192 kB / 0.7043 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.7514, allocations: 2.994 MB / 0.7073 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.7528, allocations: 153.3 kB / 0.7074 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/0.7529, allocations: 36.38 kB / 0.7074 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.7529, allocations: 4.406 kB / 0.7074 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001537/0.7545, allocations: 0.8412 MB / 0.7083 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.7545, allocations: 9.5 kB / 0.7083 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.7547, allocations: 69.92 kB / 0.7083 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.7553, allocations: 188.1 kB / 0.7085 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.7576, allocations: 2.975 MB / 0.7114 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.7591, allocations: 141.2 kB / 0.7116 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.425e-05/0.7592, allocations: 40.83 kB / 0.7116 GB, free: 1.457 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.7602, allocations: 453.7 kB / 0.712 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/0.7605, allocations: 153.5 kB / 0.7122 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.7624, allocations: 1.055 MB / 0.7132 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.7624, allocations: 8.906 kB / 0.7132 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7624, allocations: 5 kB / 0.7132 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.7636, allocations: 0.7807 MB / 0.714 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.7681, allocations: 2.711 MB / 0.7166 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7682, allocations: 4.844 kB / 0.7166 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.7687, allocations: 136 kB / 0.7168 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.7689, allocations: 81.2 kB / 0.7168 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.769, allocations: 17.81 kB / 0.7169 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.7711, allocations: 2.995 MB / 0.7198 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7711, allocations: 3.219 kB / 0.7198 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.7732, allocations: 1.634 MB / 0.7214 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009438/0.7742, allocations: 406.6 kB / 0.7218 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.7744, allocations: 23.11 kB / 0.7218 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007359/0.7751, allocations: 50.62 kB / 0.7218 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.7753, allocations: 64.09 kB / 0.7219 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/0.7753, allocations: 30.05 kB / 0.7219 GB, free: 9.102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001631/0.777, allocations: 1.095 MB / 0.723 GB, free: 8.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.777, allocations: 0 / 0.723 GB, free: 8.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003478/0.7805, allocations: 1.084 MB / 0.7241 GB, free: 7.469 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001852/0.7823, allocations: 0.8298 MB / 0.7249 GB, free: 6.652 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.7848, allocations: 1.696 MB / 0.7265 GB, free: 4.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7848, allocations: 0 / 0.7265 GB, free: 4.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.7855, allocations: 0.5836 MB / 0.7271 GB, free: 4.297 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/0.7892, allocations: 0.7953 MB / 0.7279 GB, free: 3.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.7944, allocations: 3.473 MB / 0.7313 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008863/0.7953, allocations: 1.305 MB / 0.7325 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001463/0.7968, allocations: 377 kB / 0.7329 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.7971, allocations: 127.4 kB / 0.733 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.7971, allocations: 0 / 0.733 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.06227/0.8594, allocations: 37.72 MB / 0.7699 GB, free: 8.969 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) Environment - environmentSimulation: