Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.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.DiscretizedBuriedPipe,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.DiscretizedBuriedPipe") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe,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.DiscretizedBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 108.4 kB / 16.41 MB, free: 6.406 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.001343/0.001343, allocations: 192.3 kB / 17.35 MB, free: 5.691 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.702, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe): time 0.1307/0.8328, allocations: 130.1 MB / 1.216 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04279/0.8756, allocations: 32.06 MB / 1.247 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005095/0.8808, allocations: 132.4 kB / 1.247 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004806/0.8856, allocations: 1.754 MB / 1.249 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01458/0.9002, allocations: 5.458 MB / 1.254 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008703/0.9089, allocations: 3.408 MB / 1.257 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.04968/0.9586, allocations: 44.56 MB / 1.301 GB, free: 4.254 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02364/0.9823, allocations: 19.04 MB / 1.32 GB, free: 1.082 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02642/1.009, allocations: 15.21 MB / 1.334 GB, free: 1.895 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01872/1.028, allocations: 12.13 MB / 1.346 GB, free: 5.719 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.004575/1.032, allocations: 1.789 MB / 1.348 GB, free: 3.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01314/1.045, allocations: 4.511 MB / 1.352 GB, free: 15.41 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.006011/1.051, allocations: 4.128 MB / 1.356 GB, free: 11.27 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01697/1.068, allocations: 9.08 MB / 1.365 GB, free: 2.156 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.03464/1.103, allocations: 27.47 MB / 1.392 GB, free: 6.609 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/1.103, allocations: 3.984 kB / 1.392 GB, free: 6.605 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.214e-06/1.103, allocations: 4 kB / 1.392 GB, free: 6.602 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0006897/1.104, allocations: 0 / 1.392 GB, free: 6.602 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2245 * Number of variables: 2245 Notification: Performance of Generate backend data structure: time 0.04537/1.149, allocations: 16.44 MB / 1.408 GB, free: 6.027 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.149, allocations: 8.031 kB / 1.408 GB, free: 6.02 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00803/1.157, allocations: 1.615 MB / 1.41 GB, free: 4.387 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0365/1.194, allocations: 16.09 MB / 1.426 GB, free: 4.191 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006112/1.194, allocations: 0.6459 MB / 1.426 GB, free: 3.543 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003218/1.198, allocations: 0.8824 MB / 1.427 GB, free: 2.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0303/1.228, allocations: 13.7 MB / 1.44 GB, free: 4.602 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002446/1.228, allocations: 35.69 kB / 1.44 GB, free: 4.566 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001454/1.23, allocations: 372 kB / 1.441 GB, free: 4.203 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/1.23, allocations: 275.8 kB / 1.441 GB, free: 3.934 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/1.253, allocations: 11.28 MB / 1.452 GB, free: 8.625 MB / 1.186 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.09558/1.349, allocations: 65.26 MB / 1.516 GB, free: 2.902 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009125/1.358, allocations: 5.251 MB / 1.521 GB, free: 13.64 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005025/1.363, allocations: 3.356 MB / 1.524 GB, free: 10.27 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002661/1.366, allocations: 3.215 MB / 1.527 GB, free: 6.367 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/1.366, allocations: 99.05 kB / 1.527 GB, free: 6.262 MB / 1.264 GB Notification: Performance of pre-optimization done (n=512): time 7.734e-06/1.366, allocations: 0 / 1.527 GB, free: 6.262 MB / 1.264 GB Notification: Performance of matching and sorting (n=512): time 0.03334/1.399, allocations: 13.38 MB / 1.54 GB, free: 8.523 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.399, allocations: 103.2 kB / 1.541 GB, free: 8.41 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02767/1.427, allocations: 14.02 MB / 1.554 GB, free: 10.45 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001259/1.428, allocations: 125.7 kB / 1.554 GB, free: 10.32 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.006814/1.435, allocations: 5.991 MB / 1.56 GB, free: 4.285 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002872/1.438, allocations: 1.822 MB / 1.562 GB, free: 2.438 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002258/1.44, allocations: 1.38 MB / 1.563 GB, free: 1.047 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/1.44, allocations: 305.1 kB / 1.564 GB, free: 0.7461 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00502/1.445, allocations: 3.227 MB / 1.567 GB, free: 13.51 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006643/1.452, allocations: 5.184 MB / 1.572 GB, free: 7.465 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9471/2.399, allocations: 9.046 MB / 1.581 GB, free: 406 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.037e-05/2.399, allocations: 17.59 kB / 1.581 GB, free: 406 MB / 1.311 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.03/2.429, allocations: 11.64 MB / 1.592 GB, free: 405.1 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/2.429, allocations: 33.97 kB / 1.592 GB, free: 405.1 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00029/2.43, allocations: 90.12 kB / 1.592 GB, free: 405.1 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009715/2.439, allocations: 2.423 MB / 1.595 GB, free: 404.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005228/2.445, allocations: 1.325 MB / 1.596 GB, free: 404.4 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006505/2.451, allocations: 9.045 MB / 1.605 GB, free: 397.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/2.461, allocations: 0.918 MB / 1.606 GB, free: 397 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001506/2.463, allocations: 362.7 kB / 1.606 GB, free: 397 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01431/2.477, allocations: 7.781 MB / 1.614 GB, free: 394 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006921/2.484, allocations: 5.183 MB / 1.619 GB, free: 390.5 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01342/2.497, allocations: 9.04 MB / 1.627 GB, free: 385.1 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.983e-05/2.498, allocations: 17.75 kB / 1.627 GB, free: 385.1 MB / 1.311 GB Notification: Performance of matching and sorting (n=865) (initialization_lambda0): time 0.03073/2.528, allocations: 11.63 MB / 1.639 GB, free: 381.3 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 9.271e-05/2.528, allocations: 31.75 kB / 1.639 GB, free: 381.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003248/2.529, allocations: 90.44 kB / 1.639 GB, free: 381.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00991/2.539, allocations: 2.433 MB / 1.641 GB, free: 380.8 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005509/2.544, allocations: 1.325 MB / 1.643 GB, free: 380.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006377/2.551, allocations: 9.036 MB / 1.651 GB, free: 373.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/2.561, allocations: 0.7146 MB / 1.652 GB, free: 373.2 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/2.563, allocations: 363 kB / 1.652 GB, free: 373.2 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 274 * 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 (781): * Single equations (assignments): 745 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * 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): 12 systems {(1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.002995/2.566, allocations: 0.5929 MB / 1.653 GB, free: 372.7 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004956/2.571, allocations: 1.132 MB / 1.654 GB, free: 372.1 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02964/2.6, allocations: 12.71 MB / 1.667 GB, free: 367.7 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01762/2.618, allocations: 9.048 MB / 1.675 GB, free: 364.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001696/2.618, allocations: 31.41 kB / 1.675 GB, free: 364.3 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007662/2.626, allocations: 2.809 MB / 1.678 GB, free: 362.8 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004105/2.63, allocations: 149.2 kB / 1.678 GB, free: 362.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008589/2.639, allocations: 393.2 kB / 1.679 GB, free: 362.6 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001926/2.641, allocations: 0.7598 MB / 1.679 GB, free: 362.5 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02158/2.662, allocations: 10.33 MB / 1.69 GB, free: 357.8 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02335/2.685, allocations: 14.44 MB / 1.704 GB, free: 344.1 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005214/2.691, allocations: 4.191 MB / 1.708 GB, free: 339.9 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01809/2.709, allocations: 9.96 MB / 1.717 GB, free: 330 MB / 1.311 GB Notification: Performance of Backend: time 1.733e-06/2.709, allocations: 0 / 1.717 GB, free: 330 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02975/2.739, allocations: 12.16 MB / 1.729 GB, free: 317.8 MB / 1.311 GB Notification: Performance of SimCode: time 0.06305/2.802, allocations: 33.85 MB / 1.762 GB, free: 284.1 MB / 1.311 GB Notification: Performance of Templates: time 0.3625/3.164, allocations: 296.4 MB / 2.052 GB, free: 5.273 MB / 1.326 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.sim & ./Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe 2>&1)