Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001235/0.001235, allocations: 172.7 kB / 15.95 MB, free: 208 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.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004697, allocations: 8 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5697/0.5702, allocations: 153.8 MB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.1002/0.6704, allocations: 109.4 MB / 1.129 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03342/0.7039, allocations: 26.14 MB / 1.155 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003696/0.7076, allocations: 115.2 kB / 1.155 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003159/0.7108, allocations: 1.06 MB / 1.156 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009527/0.7204, allocations: 3.638 MB / 1.159 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006439/0.7268, allocations: 2.21 MB / 1.162 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.7378, allocations: 9.468 MB / 1.171 GB, free: 7.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.7413, allocations: 1.906 MB / 1.173 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005589/0.7469, allocations: 2.679 MB / 1.175 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00378/0.7507, allocations: 2.135 MB / 1.177 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007162/0.7514, allocations: 116 kB / 1.178 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008363/0.7598, allocations: 2.3 MB / 1.18 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.761, allocations: 0.521 MB / 1.18 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.7628, allocations: 0.6329 MB / 1.181 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006381/0.7692, allocations: 4.049 MB / 1.185 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7692, allocations: 0 / 1.185 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7692, allocations: 0 / 1.185 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001354/0.7693, allocations: 0 / 1.185 GB, free: 9.273 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.006521/0.7759, allocations: 3.048 MB / 1.188 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7759, allocations: 8.031 kB / 1.188 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.777, allocations: 352 kB / 1.188 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005051/0.7821, allocations: 2.512 MB / 1.191 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.7822, allocations: 135.4 kB / 1.191 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003262/0.7826, allocations: 180 kB / 1.191 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.786, allocations: 1.872 MB / 1.193 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/0.7861, allocations: 11.84 kB / 1.193 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.7863, allocations: 72 kB / 1.193 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.7863, allocations: 44 kB / 1.193 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.7889, allocations: 1.375 MB / 1.194 GB, free: 15.47 MB / 0.9512 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.01195/0.8009, allocations: 9.995 MB / 1.204 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.8024, allocations: 0.9061 MB / 1.205 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/0.8032, allocations: 0.5323 MB / 1.205 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/0.8054, allocations: 3.088 MB / 1.208 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.8055, allocations: 47.56 kB / 1.208 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=120): time 4.738e-06/0.8055, allocations: 7.984 kB / 1.208 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=120): time 0.005034/0.8105, allocations: 2.133 MB / 1.211 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.8106, allocations: 64.41 kB / 1.211 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/0.814, allocations: 2.193 MB / 1.213 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.8142, allocations: 53.7 kB / 1.213 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009713/0.8151, allocations: 1.185 MB / 1.214 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004269/0.8156, allocations: 433.7 kB / 1.214 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.8157, allocations: 28 kB / 1.214 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.8158, allocations: 365.9 kB / 1.215 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009442/0.8168, allocations: 471.8 kB / 1.215 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.818, allocations: 0.8249 MB / 1.216 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.8191, allocations: 0.5921 MB / 1.217 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.8191, allocations: 7.938 kB / 1.217 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003969/0.8231, allocations: 1.85 MB / 1.218 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002343/0.8233, allocations: 377.6 kB / 1.219 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/0.8234, allocations: 19.98 kB / 1.219 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.8248, allocations: 301.4 kB / 1.219 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.8258, allocations: 295.5 kB / 1.219 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.8268, allocations: 1.296 MB / 1.221 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.8288, allocations: 230.4 kB / 1.221 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.829, allocations: 75.92 kB / 1.221 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.829, allocations: 4 kB / 1.221 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003477/0.8325, allocations: 1.61 MB / 1.222 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/0.8326, allocations: 15.98 kB / 1.222 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.834, allocations: 301.7 kB / 1.223 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.835, allocations: 295.5 kB / 1.223 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.8361, allocations: 1.3 MB / 1.224 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.8381, allocations: 217.2 kB / 1.225 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.8384, allocations: 71.97 kB / 1.225 GB, free: 14.4 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (169): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001252/0.8396, allocations: 0.5749 MB / 1.225 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006646/0.8403, allocations: 256.8 kB / 1.225 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004942/0.8452, allocations: 2.333 MB / 1.228 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/0.8453, allocations: 23.98 kB / 1.228 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.8453, allocations: 0 / 1.228 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00303/0.8484, allocations: 1.733 MB / 1.229 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009619/0.858, allocations: 5.099 MB / 1.234 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/0.8581, allocations: 15.92 kB / 1.234 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009022/0.859, allocations: 227.7 kB / 1.235 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.86, allocations: 241.4 kB / 1.235 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.8602, allocations: 51.97 kB / 1.235 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009484/0.8611, allocations: 1.3 MB / 1.236 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.8611, allocations: 8 kB / 1.236 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005039/0.8662, allocations: 2.932 MB / 1.239 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.8676, allocations: 0.6295 MB / 1.24 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005505/0.8681, allocations: 43.95 kB / 1.24 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.8698, allocations: 134.5 kB / 1.24 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.87, allocations: 136.9 kB / 1.24 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/0.8702, allocations: 71.95 kB / 1.24 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002845/0.8731, allocations: 1.596 MB / 1.242 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8731, allocations: 0 / 1.242 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004096/0.8772, allocations: 1.517 MB / 1.243 GB, free: 11.04 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,senTemInl.T,senTemOut.T,pipRev.del.x,pipRev.timDel.x,pipRev.vol_b.dynBal.U,pipRev.vol_a.dynBal.U,senTemOutRev.T,senTemInlRev.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 (142): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * 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: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001993/0.8792, allocations: 0.9462 MB / 1.244 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004168/0.8834, allocations: 2.364 MB / 1.246 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8834, allocations: 4 kB / 1.246 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.885, allocations: 0.9729 MB / 1.247 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006633/0.8916, allocations: 1.414 MB / 1.249 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4459/1.338, allocations: 6.02 MB / 1.254 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/1.339, allocations: 1.707 MB / 1.256 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002895/1.342, allocations: 0.674 MB / 1.257 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/1.343, allocations: 234.1 kB / 1.257 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.413e-06/1.343, allocations: 0.6875 kB / 1.257 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.08709/1.43, allocations: 62.33 MB / 1.318 GB, free: 179.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)