Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7991/0.7991, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 188.8 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.1 MB / 404.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000881/0.000881, allocations: 94.09 kB / 481.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.125e-05, allocations: 4 kB / 0.5532 GB, free: 54.8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1693, allocations: 76.76 MB / 0.6282 GB, free: 9.988 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/1.47, allocations: 383.5 MB / 1.003 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/1.471, allocations: 120.3 kB / 1.003 GB, free: 131 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 11.52/12.99, allocations: 2.811 GB / 3.814 GB, free: 85.83 MB / 0.7137 GB Notification: Performance of FrontEnd: time 2.034e-06/12.99, allocations: 0 / 3.814 GB, free: 85.83 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 0.003787/13, allocations: 309.7 kB / 3.815 GB, free: 85.8 MB / 0.7137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.0498/13.05, allocations: 10.82 MB / 3.825 GB, free: 81.52 MB / 0.7137 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/13.05, allocations: 11.16 kB / 3.825 GB, free: 81.52 MB / 0.7137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01272/13.06, allocations: 1.616 MB / 3.827 GB, free: 80.73 MB / 0.7137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06251/13.12, allocations: 21.09 MB / 3.847 GB, free: 78.83 MB / 0.7137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001064/13.12, allocations: 0.6358 MB / 3.848 GB, free: 78.81 MB / 0.7137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005738/13.13, allocations: 0.8641 MB / 3.849 GB, free: 78.8 MB / 0.7137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04592/13.18, allocations: 11.71 MB / 3.86 GB, free: 77.84 MB / 0.7137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008993/13.18, allocations: 32.81 kB / 3.86 GB, free: 77.83 MB / 0.7137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006844/13.18, allocations: 353.9 kB / 3.861 GB, free: 77.83 MB / 0.7137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003462/13.18, allocations: 211.4 kB / 3.861 GB, free: 77.83 MB / 0.7137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0333/13.22, allocations: 9.84 MB / 3.87 GB, free: 77.75 MB / 0.7137 GB Warning: The model contains alias variables with conflicting start and/or 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.1289/13.35, allocations: 51.12 MB / 3.92 GB, free: 60.16 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/13.36, allocations: 5.489 MB / 3.926 GB, free: 58.08 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009376/13.37, allocations: 3.678 MB / 3.929 GB, free: 56.69 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002774/13.37, allocations: 2.177 MB / 3.931 GB, free: 54.32 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/13.37, allocations: 98.92 kB / 3.931 GB, free: 54.24 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=479): time 1.541e-05/13.37, allocations: 2.719 kB / 3.931 GB, free: 54.24 MB / 0.7137 GB Notification: Performance of matching and sorting (n=479): time 0.02408/13.4, allocations: 7.166 MB / 3.938 GB, free: 51.44 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/13.4, allocations: 365.6 kB / 3.939 GB, free: 51.06 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04905/13.45, allocations: 14.16 MB / 3.953 GB, free: 46.27 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.002462/13.45, allocations: 131.5 kB / 3.953 GB, free: 46.16 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0127/13.46, allocations: 6.075 MB / 3.959 GB, free: 41.45 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.005995/13.47, allocations: 1.698 MB / 3.96 GB, free: 40.13 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002823/13.47, allocations: 126.9 kB / 3.96 GB, free: 40.04 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.001448/13.47, allocations: 0.5742 MB / 3.961 GB, free: 39.61 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008124/13.48, allocations: 3.238 MB / 3.964 GB, free: 38.44 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009858/13.49, allocations: 5.534 MB / 3.97 GB, free: 34.66 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0097/13.5, allocations: 4.368 MB / 3.974 GB, free: 33.02 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.691e-05/13.5, allocations: 11.38 kB / 3.974 GB, free: 33.02 MB / 0.7137 GB Notification: Performance of matching and sorting (n=846) (initialization): time 0.02972/13.53, allocations: 10.48 MB / 3.984 GB, free: 24.06 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.01264/13.54, allocations: 28.19 MB / 4.012 GB, free: 10.41 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004445/13.54, allocations: 71.7 kB / 4.012 GB, free: 10.35 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/13.54, allocations: 1.022 MB / 4.013 GB, free: 9.426 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006539/13.55, allocations: 1.457 MB / 4.014 GB, free: 8.184 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6953/14.25, allocations: 33.04 MB / 4.046 GB, free: 72.49 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01717/14.26, allocations: 1.374 MB / 4.048 GB, free: 72.49 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00233/14.27, allocations: 281 kB / 4.048 GB, free: 72.49 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/14.27, allocations: 2.969 kB / 4.048 GB, free: 72.49 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02736/14.29, allocations: 9.341 MB / 4.057 GB, free: 72.12 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004761/14.29, allocations: 71.44 kB / 4.057 GB, free: 72.12 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002651/14.3, allocations: 0.9939 MB / 4.058 GB, free: 71.97 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007842/14.3, allocations: 1.446 MB / 4.06 GB, free: 71.97 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02411/14.33, allocations: 33.3 MB / 4.092 GB, free: 45.53 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01733/14.35, allocations: 1.264 MB / 4.093 GB, free: 45.53 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00243/14.35, allocations: 280.8 kB / 4.094 GB, free: 45.53 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 726 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00322/14.35, allocations: 0.4946 MB / 4.094 GB, free: 45.42 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005792/14.36, allocations: 1.16 MB / 4.095 GB, free: 45.18 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02016/14.38, allocations: 8.312 MB / 4.103 GB, free: 44.69 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.996e-05/14.38, allocations: 43.53 kB / 4.103 GB, free: 44.69 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-05/14.38, allocations: 10.47 kB / 4.103 GB, free: 44.69 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01184/14.39, allocations: 6.088 MB / 4.109 GB, free: 44.34 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08225/14.47, allocations: 40.97 MB / 4.149 GB, free: 37.58 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-05/14.47, allocations: 13.83 kB / 4.149 GB, free: 37.58 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004495/14.48, allocations: 1.025 MB / 4.15 GB, free: 37.58 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/14.48, allocations: 0.9632 MB / 4.151 GB, free: 37.42 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00112/14.48, allocations: 154.8 kB / 4.151 GB, free: 37.42 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02973/14.51, allocations: 33.15 MB / 4.184 GB, free: 42.79 MB / 0.7762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/14.51, allocations: 16.38 kB / 4.184 GB, free: 42.79 MB / 0.7762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02694/14.54, allocations: 14.93 MB / 4.198 GB, free: 37.35 MB / 0.7762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01385/14.55, allocations: 2.821 MB / 4.201 GB, free: 36.62 MB / 0.7762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008111/14.56, allocations: 132.5 kB / 4.201 GB, free: 36.62 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01459/14.57, allocations: 0.6114 MB / 4.202 GB, free: 36.59 MB / 0.7762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002079/14.58, allocations: 351.8 kB / 4.202 GB, free: 36.57 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001777/14.58, allocations: 190.8 kB / 4.202 GB, free: 36.57 MB / 0.7762 GB Notification: Performance of sorting global known variables: time 0.0351/14.61, allocations: 11.66 MB / 4.214 GB, free: 36.16 MB / 0.7762 GB Notification: Performance of sort global known variables: time 1.452e-06/14.61, allocations: 2.812 kB / 4.214 GB, free: 36.16 MB / 0.7762 GB Notification: Performance of remove unused functions: time 0.04723/14.66, allocations: 6.39 MB / 4.22 GB, free: 35.86 MB / 0.7762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (421): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(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.006962/14.67, allocations: 1.438 MB / 4.221 GB, free: 35.7 MB / 0.7762 GB Notification: Performance of simCode: created initialization part: time 0.04023/14.71, allocations: 17.7 MB / 4.239 GB, free: 30.43 MB / 0.7762 GB Notification: Performance of simCode: created event and clocks part: time 3.348e-05/14.71, allocations: 5.406 kB / 4.239 GB, free: 30.43 MB / 0.7762 GB Notification: Performance of simCode: created simulation system equations: time 0.01239/14.72, allocations: 5.451 MB / 4.244 GB, free: 28.12 MB / 0.7762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04835/14.77, allocations: 7.965 MB / 4.252 GB, free: 27.92 MB / 0.7762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06995/14.84, allocations: 25.64 MB / 4.277 GB, free: 19.39 MB / 0.7762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02358/14.86, allocations: 9.565 MB / 4.286 GB, free: 16.15 MB / 0.7762 GB Notification: Performance of simCode: alias equations: time 0.05186/14.91, allocations: 12.99 MB / 4.299 GB, free: 8.602 MB / 0.7762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004483/14.92, allocations: 0.6486 MB / 4.3 GB, free: 7.992 MB / 0.7762 GB Notification: Performance of SimCode: time 1.122e-06/14.92, allocations: 0 / 4.3 GB, free: 7.992 MB / 0.7762 GB Notification: Performance of Templates: time 1.207/16.13, allocations: 292.2 MB / 4.585 GB, free: 14.64 MB / 0.8074 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)