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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001525/0.001525, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 190.7 kB / 16.67 MB, free: 6.57 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.89 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3053, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.6834/0.9887, allocations: 118.5 MB / 1.282 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03348/1.022, allocations: 27.87 MB / 1.31 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005275/1.028, allocations: 129.5 kB / 1.31 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004392/1.032, allocations: 1.53 MB / 1.311 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01329/1.045, allocations: 4.607 MB / 1.316 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008792/1.054, allocations: 3.129 MB / 1.319 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01436/1.068, allocations: 8.481 MB / 1.327 GB, free: 12.74 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005117/1.074, allocations: 2.674 MB / 1.33 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008/1.082, allocations: 3.338 MB / 1.333 GB, free: 9.859 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004845/1.086, allocations: 2.338 MB / 1.335 GB, free: 8.773 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008307/1.087, allocations: 289.5 kB / 1.335 GB, free: 8.773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008201/1.096, allocations: 2.826 MB / 1.338 GB, free: 7.703 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/1.097, allocations: 0.7302 MB / 1.339 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003147/1.1, allocations: 1.699 MB / 1.341 GB, free: 6.195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01013/1.11, allocations: 5.434 MB / 1.346 GB, free: 4.152 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.11, allocations: 3.938 kB / 1.346 GB, free: 4.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.003e-06/1.11, allocations: 1.312 kB / 1.346 GB, free: 4.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001034/1.11, allocations: 0 / 1.346 GB, free: 4.148 MB / 1.014 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.007939/1.118, allocations: 3.68 MB / 1.349 GB, free: 1.488 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.118, allocations: 8.656 kB / 1.349 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/1.119, allocations: 373.1 kB / 1.35 GB, free: 1.297 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004806/1.124, allocations: 2.671 MB / 1.352 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/1.124, allocations: 134.1 kB / 1.353 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/1.124, allocations: 184.8 kB / 1.353 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/1.128, allocations: 1.89 MB / 1.355 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.657e-05/1.128, allocations: 14.45 kB / 1.355 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/1.128, allocations: 69.09 kB / 1.355 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.995e-05/1.128, allocations: 51.69 kB / 1.355 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/1.13, allocations: 1.377 MB / 1.356 GB, free: 13.23 MB / 1.029 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/1.142, allocations: 9.988 MB / 1.366 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/1.144, allocations: 0.9262 MB / 1.367 GB, free: 3.875 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/1.145, allocations: 0.5342 MB / 1.367 GB, free: 3.609 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002249/1.147, allocations: 3.078 MB / 1.37 GB, free: 8 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/1.147, allocations: 44.97 kB / 1.37 GB, free: 15.96 MB / 1.045 GB Notification: Performance of pre-optimization done (n=120): time 3.807e-06/1.147, allocations: 0 / 1.37 GB, free: 15.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=120): time 0.005419/1.152, allocations: 2.148 MB / 1.372 GB, free: 14.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/1.152, allocations: 65.34 kB / 1.372 GB, free: 14.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003652/1.156, allocations: 2.239 MB / 1.375 GB, free: 13.55 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/1.156, allocations: 48.7 kB / 1.375 GB, free: 13.5 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/1.157, allocations: 1.2 MB / 1.376 GB, free: 12.44 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004827/1.158, allocations: 452.1 kB / 1.376 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004638/1.158, allocations: 291.2 kB / 1.377 GB, free: 11.87 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.158, allocations: 358.2 kB / 1.377 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008401/1.159, allocations: 460.8 kB / 1.377 GB, free: 11.29 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/1.16, allocations: 0.7878 MB / 1.378 GB, free: 10.65 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/1.162, allocations: 1.291 MB / 1.379 GB, free: 9.754 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/1.162, allocations: 2.75 kB / 1.379 GB, free: 9.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004095/1.167, allocations: 1.811 MB / 1.381 GB, free: 8.832 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.167, allocations: 7.312 kB / 1.381 GB, free: 8.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/1.167, allocations: 17.36 kB / 1.381 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/1.168, allocations: 308.5 kB / 1.381 GB, free: 8.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009367/1.169, allocations: 284.3 kB / 1.382 GB, free: 8.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/1.17, allocations: 1.305 MB / 1.383 GB, free: 7.434 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/1.172, allocations: 153 kB / 1.383 GB, free: 7.328 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/1.172, allocations: 73.66 kB / 1.383 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001587/1.174, allocations: 0.8458 MB / 1.384 GB, free: 6.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001091/1.175, allocations: 0.7793 MB / 1.385 GB, free: 5.824 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001989/1.177, allocations: 1.292 MB / 1.386 GB, free: 4.406 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.305e-06/1.177, allocations: 4 kB / 1.386 GB, free: 4.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.004151/1.181, allocations: 1.805 MB / 1.388 GB, free: 2.582 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.181, allocations: 13.34 kB / 1.388 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/1.181, allocations: 15.94 kB / 1.388 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/1.182, allocations: 297.6 kB / 1.388 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009318/1.183, allocations: 291.5 kB / 1.388 GB, free: 1.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/1.184, allocations: 1.304 MB / 1.39 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.186, allocations: 115.4 kB / 1.39 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/1.187, allocations: 79.97 kB / 1.39 GB, free: 436 kB / 1.045 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 (165): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005378/1.187, allocations: 267.8 kB / 1.39 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008107/1.188, allocations: 266.5 kB / 1.39 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/1.193, allocations: 2.325 MB / 1.393 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.814e-05/1.193, allocations: 23.98 kB / 1.393 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.193, allocations: 0 / 1.393 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003065/1.196, allocations: 1.736 MB / 1.394 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/1.207, allocations: 5.126 MB / 1.399 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/1.207, allocations: 12 kB / 1.399 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008932/1.208, allocations: 223.7 kB / 1.4 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/1.209, allocations: 241.7 kB / 1.4 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.209, allocations: 47.97 kB / 1.4 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009568/1.21, allocations: 1.296 MB / 1.401 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/1.21, allocations: 11.94 kB / 1.401 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005497/1.215, allocations: 2.953 MB / 1.404 GB, free: 1.488 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.217, allocations: 0.5961 MB / 1.405 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007041/1.218, allocations: 39.98 kB / 1.405 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.219, allocations: 59.86 kB / 1.405 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/1.22, allocations: 148.9 kB / 1.405 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/1.22, allocations: 71.95 kB / 1.405 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003372/1.223, allocations: 1.651 MB / 1.407 GB, free: 14.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.6e-07/1.223, allocations: 0 / 1.407 GB, free: 14.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00505/1.228, allocations: 1.485 MB / 1.408 GB, free: 13.41 MB / 1.076 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.002475/1.231, allocations: 0.986 MB / 1.409 GB, free: 12.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00446/1.235, allocations: 2.301 MB / 1.411 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.235, allocations: 4 kB / 1.411 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/1.237, allocations: 0.985 MB / 1.412 GB, free: 9.086 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008501/1.246, allocations: 1.488 MB / 1.414 GB, free: 7.629 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008645/1.254, allocations: 5.052 MB / 1.419 GB, free: 2.465 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/1.256, allocations: 1.702 MB / 1.42 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003217/1.259, allocations: 0.674 MB / 1.421 GB, free: 80 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008114/1.26, allocations: 239.3 kB / 1.421 GB, free: 15.84 MB / 1.092 GB Notification: Performance of SimCode: time 5.51e-07/1.26, allocations: 0 / 1.421 GB, free: 15.84 MB / 1.092 GB Notification: Performance of Templates: time 0.1001/1.36, allocations: 61.98 MB / 1.482 GB, free: 2.555 MB / 1.139 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)