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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007862/0.0007862, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008267/0.0008268, allocations: 168.7 kB / 15.95 MB, free: 204 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.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.9 MB / 0.666 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 8 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.721/0.7214, allocations: 142.4 MB / 0.9544 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.09884/0.8203, allocations: 109.4 MB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03707/0.8574, allocations: 26.12 MB / 1.087 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005008/0.8625, allocations: 111.2 kB / 1.087 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004359/0.8669, allocations: 1.067 MB / 1.088 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.8787, allocations: 3.635 MB / 1.091 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007593/0.8863, allocations: 2.214 MB / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01305/0.8994, allocations: 9.467 MB / 1.103 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004164/0.9036, allocations: 1.906 MB / 1.105 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007039/0.9107, allocations: 2.691 MB / 1.107 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004636/0.9153, allocations: 2.131 MB / 1.109 GB, free: 356 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0009983/0.9164, allocations: 116 kB / 1.11 GB, free: 240 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009582/0.926, allocations: 2.296 MB / 1.112 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.9276, allocations: 0.5288 MB / 1.112 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002595/0.9302, allocations: 0.6329 MB / 1.113 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007743/0.9379, allocations: 4.037 MB / 1.117 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.938, allocations: 3.984 kB / 1.117 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.416e-06/0.938, allocations: 0 / 1.117 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001991/0.9382, allocations: 11.94 kB / 1.117 GB, free: 8.699 MB / 0.8731 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.00803/0.9462, allocations: 3.033 MB / 1.12 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.9463, allocations: 12.03 kB / 1.12 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.9479, allocations: 352 kB / 1.12 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006349/0.9542, allocations: 2.51 MB / 1.123 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.9544, allocations: 131.4 kB / 1.123 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005398/0.955, allocations: 183.9 kB / 1.123 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004518/0.9595, allocations: 1.876 MB / 1.125 GB, free: 420 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.807e-05/0.9596, allocations: 7.906 kB / 1.125 GB, free: 412 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.9598, allocations: 75.94 kB / 1.125 GB, free: 336 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/0.9599, allocations: 51.98 kB / 1.125 GB, free: 284 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/0.963, allocations: 1.367 MB / 1.126 GB, free: 14.9 MB / 0.8887 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.01453/0.9775, allocations: 9.987 MB / 1.136 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.9791, allocations: 0.9067 MB / 1.137 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008626/0.98, allocations: 0.5268 MB / 1.137 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002376/0.9824, allocations: 3.092 MB / 1.14 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.9825, allocations: 47.52 kB / 1.14 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=120): time 3.917e-06/0.9825, allocations: 4 kB / 1.14 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=120): time 0.005359/0.9879, allocations: 2.126 MB / 1.143 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.9879, allocations: 60.41 kB / 1.143 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/0.9919, allocations: 2.201 MB / 1.145 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.9921, allocations: 49.7 kB / 1.145 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.9932, allocations: 1.185 MB / 1.146 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.9937, allocations: 437.7 kB / 1.146 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.9938, allocations: 28 kB / 1.146 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.9939, allocations: 357.9 kB / 1.147 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008622/0.9948, allocations: 479.6 kB / 1.147 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.996, allocations: 0.8249 MB / 1.148 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.9971, allocations: 0.5998 MB / 1.149 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.9971, allocations: 4 kB / 1.149 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004149/1.001, allocations: 1.85 MB / 1.15 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003092/1.002, allocations: 372.2 kB / 1.151 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.55e-05/1.002, allocations: 16 kB / 1.151 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/1.003, allocations: 301.5 kB / 1.151 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009446/1.004, allocations: 299.5 kB / 1.151 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/1.005, allocations: 1.296 MB / 1.153 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/1.007, allocations: 234.4 kB / 1.153 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/1.007, allocations: 75.97 kB / 1.153 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/1.007, allocations: 3.938 kB / 1.153 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003465/1.011, allocations: 1.61 MB / 1.154 GB, free: 100 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.565e-05/1.011, allocations: 12 kB / 1.154 GB, free: 88 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/1.012, allocations: 309.8 kB / 1.155 GB, free: 15.78 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/1.013, allocations: 287.6 kB / 1.155 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009758/1.014, allocations: 1.3 MB / 1.156 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/1.016, allocations: 210.7 kB / 1.157 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/1.016, allocations: 75.97 kB / 1.157 GB, free: 13.86 MB / 0.92 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.001199/1.018, allocations: 0.5826 MB / 1.157 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006652/1.018, allocations: 252.9 kB / 1.157 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/1.023, allocations: 2.342 MB / 1.16 GB, free: 10.69 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/1.023, allocations: 27.92 kB / 1.16 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.023, allocations: 0 / 1.16 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002986/1.026, allocations: 1.736 MB / 1.161 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/1.037, allocations: 5.11 MB / 1.166 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.58e-05/1.037, allocations: 8 kB / 1.166 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008522/1.038, allocations: 231.8 kB / 1.167 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009949/1.039, allocations: 241.4 kB / 1.167 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/1.039, allocations: 47.98 kB / 1.167 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009878/1.04, allocations: 1.292 MB / 1.168 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.04, allocations: 7.938 kB / 1.168 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/1.045, allocations: 2.936 MB / 1.171 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/1.047, allocations: 0.6295 MB / 1.172 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006873/1.047, allocations: 39.98 kB / 1.172 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/1.049, allocations: 131.7 kB / 1.172 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/1.05, allocations: 136.9 kB / 1.172 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.05, allocations: 79.94 kB / 1.172 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003157/1.053, allocations: 1.596 MB / 1.174 GB, free: 12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.603e-06/1.053, allocations: 112 / 1.174 GB, free: 12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005707/1.059, allocations: 1.505 MB / 1.175 GB, free: 10.49 MB / 0.9356 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.00327/1.062, allocations: 0.9566 MB / 1.176 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005644/1.068, allocations: 2.36 MB / 1.178 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.068, allocations: 1.75 kB / 1.178 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/1.069, allocations: 0.9713 MB / 1.179 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008028/1.077, allocations: 1.413 MB / 1.181 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009894/1.087, allocations: 6.035 MB / 1.187 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/1.089, allocations: 1.698 MB / 1.188 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00307/1.092, allocations: 0.6743 MB / 1.189 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006992/1.093, allocations: 239.3 kB / 1.189 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of SimCode: time 8.21e-07/1.093, allocations: 0 / 1.189 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of Templates: time 0.6092/1.702, allocations: 62.31 MB / 1.25 GB, free: 272.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)