Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0009961/0.0009961, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.005928/0.005928, allocations: 181 kB / 16.26 MB, free: 6.605 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003905, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6233/0.6237, allocations: 142.4 MB / 0.955 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.1219/0.7457, allocations: 115.8 MB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.04069/0.7864, allocations: 27.68 MB / 1.095 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004683/0.7911, allocations: 107.3 kB / 1.095 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004371/0.7955, allocations: 1.251 MB / 1.096 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.8079, allocations: 4.258 MB / 1.101 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007758/0.8157, allocations: 2.807 MB / 1.103 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01448/0.8302, allocations: 11.02 MB / 1.114 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004364/0.8346, allocations: 2.173 MB / 1.116 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007049/0.8416, allocations: 2.796 MB / 1.119 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0047/0.8464, allocations: 2.275 MB / 1.121 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009005/0.8473, allocations: 116 kB / 1.121 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.8578, allocations: 3.213 MB / 1.124 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.859, allocations: 0.5521 MB / 1.125 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003259/0.8623, allocations: 1.517 MB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02381/0.8861, allocations: 18.19 MB / 1.144 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8861, allocations: 0 / 1.144 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8861, allocations: 4 kB / 1.144 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000175/0.8863, allocations: 3.938 kB / 1.144 GB, free: 12.95 MB / 0.9044 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.007488/0.8938, allocations: 3.017 MB / 1.147 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.8939, allocations: 12.03 kB / 1.147 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.895, allocations: 344 kB / 1.148 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004669/0.8997, allocations: 2.599 MB / 1.15 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.8998, allocations: 135.4 kB / 1.15 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/0.9001, allocations: 183.9 kB / 1.15 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.9033, allocations: 1.891 MB / 1.152 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.9034, allocations: 3.938 kB / 1.152 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.9036, allocations: 72 kB / 1.152 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.692e-05/0.9036, allocations: 51.94 kB / 1.152 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.906, allocations: 1.383 MB / 1.154 GB, free: 3.066 MB / 0.9044 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.01208/0.9181, allocations: 10 MB / 1.163 GB, free: 8.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.9197, allocations: 0.9144 MB / 1.164 GB, free: 7.391 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008278/0.9205, allocations: 0.5385 MB / 1.165 GB, free: 6.852 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002429/0.923, allocations: 3.088 MB / 1.168 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.923, allocations: 51.56 kB / 1.168 GB, free: 3.023 MB / 0.92 GB Notification: Performance of pre-optimization done (n=120): time 3.457e-06/0.9231, allocations: 0 / 1.168 GB, free: 3.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=120): time 0.005524/0.9286, allocations: 2.149 MB / 1.17 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.9286, allocations: 64.41 kB / 1.17 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003617/0.9323, allocations: 2.205 MB / 1.172 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.9324, allocations: 53.7 kB / 1.172 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009952/0.9334, allocations: 1.189 MB / 1.173 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.9338, allocations: 425.7 kB / 1.174 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.934, allocations: 129.6 kB / 1.174 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.9341, allocations: 305.1 kB / 1.174 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/0.935, allocations: 479.8 kB / 1.175 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.9361, allocations: 0.8325 MB / 1.176 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.9382, allocations: 1.355 MB / 1.177 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.9382, allocations: 4 kB / 1.177 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004221/0.9424, allocations: 1.882 MB / 1.179 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/0.9427, allocations: 371.8 kB / 1.179 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/0.9427, allocations: 12 kB / 1.179 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.9442, allocations: 301.4 kB / 1.179 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000955/0.9452, allocations: 287.6 kB / 1.18 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.9463, allocations: 1.304 MB / 1.181 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.9484, allocations: 230.4 kB / 1.181 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.9485, allocations: 75.97 kB / 1.181 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.9486, allocations: 5.25 kB / 1.181 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003463/0.952, allocations: 1.618 MB / 1.183 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/0.9521, allocations: 24.06 kB / 1.183 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.9535, allocations: 313.2 kB / 1.183 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009314/0.9545, allocations: 291.5 kB / 1.183 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009552/0.9554, allocations: 1.296 MB / 1.185 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.9575, allocations: 210.6 kB / 1.185 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.9577, allocations: 75.97 kB / 1.185 GB, free: 0.9727 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001069/0.9587, allocations: 0.5787 MB / 1.186 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/0.9593, allocations: 252.9 kB / 1.186 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.9641, allocations: 2.333 MB / 1.188 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-05/0.9641, allocations: 23.98 kB / 1.188 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.9642, allocations: 0 / 1.188 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003068/0.9672, allocations: 1.74 MB / 1.19 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009925/0.9772, allocations: 5.121 MB / 1.195 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-05/0.9772, allocations: 12 kB / 1.195 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009109/0.9781, allocations: 228.5 kB / 1.195 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.9793, allocations: 241.4 kB / 1.195 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.9794, allocations: 51.92 kB / 1.195 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.9805, allocations: 1.304 MB / 1.197 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.9805, allocations: 7.938 kB / 1.197 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/0.9857, allocations: 2.944 MB / 1.199 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/0.9872, allocations: 0.6256 MB / 1.2 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000633/0.9879, allocations: 39.98 kB / 1.2 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/0.9899, allocations: 143.6 kB / 1.2 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.9902, allocations: 133 kB / 1.2 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/0.9904, allocations: 83.89 kB / 1.2 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003436/0.9938, allocations: 1.62 MB / 1.202 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9938, allocations: 0 / 1.202 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004845/0.9987, allocations: 1.521 MB / 1.203 GB, free: 13.52 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007077/1.006, allocations: 3.666 MB / 1.207 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00435/1.01, allocations: 2.388 MB / 1.209 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.01, allocations: 0 / 1.209 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/1.012, allocations: 0.9837 MB / 1.21 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009479/1.021, allocations: 1.409 MB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008351/1.03, allocations: 6.154 MB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/1.031, allocations: 1.698 MB / 1.219 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002786/1.034, allocations: 0.6669 MB / 1.22 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/1.034, allocations: 243.3 kB / 1.22 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/1.034, allocations: 0 / 1.22 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.5867/1.621, allocations: 64.98 MB / 1.284 GB, free: 257.4 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)