Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001552/0.001553, allocations: 112.3 kB / 16.42 MB, free: 6.449 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.001762/0.001762, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.453/2.453, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6867, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe): time 0.1257/0.8125, allocations: 130.1 MB / 1.294 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04209/0.8546, allocations: 32.05 MB / 1.326 GB, free: 1.203 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004313/0.859, allocations: 135.2 kB / 1.326 GB, free: 1.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00448/0.8635, allocations: 1.763 MB / 1.327 GB, free: 15.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01379/0.8773, allocations: 5.454 MB / 1.333 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008721/0.886, allocations: 3.405 MB / 1.336 GB, free: 6.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.05143/0.9375, allocations: 44.57 MB / 1.38 GB, free: 9.73 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02695/0.9645, allocations: 19.03 MB / 1.398 GB, free: 6.57 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02764/0.9922, allocations: 15.22 MB / 1.413 GB, free: 7.379 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01996/1.012, allocations: 12.13 MB / 1.425 GB, free: 11.2 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.005564/1.018, allocations: 1.789 MB / 1.427 GB, free: 9.414 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01472/1.032, allocations: 4.514 MB / 1.431 GB, free: 4.895 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.007787/1.04, allocations: 4.116 MB / 1.435 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01753/1.058, allocations: 9.084 MB / 1.444 GB, free: 7.641 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.03574/1.094, allocations: 27.47 MB / 1.471 GB, free: 12.09 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.094, allocations: 0 / 1.471 GB, free: 12.09 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.814e-06/1.094, allocations: 0 / 1.471 GB, free: 12.09 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0008463/1.095, allocations: 0 / 1.471 GB, free: 12.09 MB / 1.201 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.04416/1.139, allocations: 16.45 MB / 1.487 GB, free: 11.51 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/1.139, allocations: 20.81 kB / 1.487 GB, free: 11.49 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008561/1.147, allocations: 1.607 MB / 1.488 GB, free: 9.863 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03502/1.182, allocations: 16.09 MB / 1.504 GB, free: 9.668 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007102/1.183, allocations: 0.6498 MB / 1.505 GB, free: 9.016 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003437/1.187, allocations: 0.8824 MB / 1.506 GB, free: 8.133 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03382/1.22, allocations: 13.7 MB / 1.519 GB, free: 10.08 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004807/1.221, allocations: 43.7 kB / 1.519 GB, free: 10.04 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002537/1.224, allocations: 372 kB / 1.519 GB, free: 9.672 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003075/1.224, allocations: 259.9 kB / 1.52 GB, free: 9.418 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02457/1.248, allocations: 11.29 MB / 1.531 GB, free: 14.1 MB / 1.264 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 1.164/2.412, allocations: 65.26 MB / 1.594 GB, free: 323.5 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007619/2.42, allocations: 5.244 MB / 1.6 GB, free: 320.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004036/2.424, allocations: 3.359 MB / 1.603 GB, free: 319 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/2.426, allocations: 3.204 MB / 1.606 GB, free: 315.4 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.493e-05/2.426, allocations: 101.4 kB / 1.606 GB, free: 315.3 MB / 1.279 GB Notification: Performance of pre-optimization done (n=512): time 9.157e-06/2.426, allocations: 0 / 1.606 GB, free: 315.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=512): time 0.02883/2.455, allocations: 13.39 MB / 1.619 GB, free: 308.5 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/2.455, allocations: 99.83 kB / 1.619 GB, free: 308.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01986/2.475, allocations: 14.02 MB / 1.633 GB, free: 295.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001364/2.476, allocations: 125.7 kB / 1.633 GB, free: 295.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.004374/2.481, allocations: 5.997 MB / 1.639 GB, free: 289.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002398/2.483, allocations: 1.825 MB / 1.641 GB, free: 287.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001854/2.485, allocations: 1.377 MB / 1.642 GB, free: 286.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.363e-05/2.485, allocations: 301.1 kB / 1.642 GB, free: 286.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004143/2.489, allocations: 3.228 MB / 1.646 GB, free: 283 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004851/2.494, allocations: 5.184 MB / 1.651 GB, free: 277 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009817/2.504, allocations: 9.047 MB / 1.659 GB, free: 267.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.513e-05/2.504, allocations: 19.69 kB / 1.659 GB, free: 267.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02136/2.525, allocations: 11.64 MB / 1.671 GB, free: 255.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/2.525, allocations: 32.97 kB / 1.671 GB, free: 255.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/2.525, allocations: 95.97 kB / 1.671 GB, free: 255.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008316/2.534, allocations: 2.421 MB / 1.673 GB, free: 252.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004168/2.538, allocations: 1.322 MB / 1.675 GB, free: 251.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004813/2.543, allocations: 9.048 MB / 1.683 GB, free: 242.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009217/2.552, allocations: 0.9191 MB / 1.684 GB, free: 241.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009552/2.553, allocations: 363.8 kB / 1.685 GB, free: 240.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01069/2.564, allocations: 7.773 MB / 1.692 GB, free: 233.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005305/2.569, allocations: 5.184 MB / 1.697 GB, free: 227 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01002/2.579, allocations: 9.041 MB / 1.706 GB, free: 217.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.774e-05/2.579, allocations: 20 kB / 1.706 GB, free: 217.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=865) (initialization_lambda0): time 0.02259/2.602, allocations: 11.64 MB / 1.718 GB, free: 205.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/2.602, allocations: 34.66 kB / 1.718 GB, free: 205.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/2.602, allocations: 95.97 kB / 1.718 GB, free: 205.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008215/2.61, allocations: 2.422 MB / 1.72 GB, free: 202.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004291/2.614, allocations: 1.326 MB / 1.721 GB, free: 201.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/2.619, allocations: 9.044 MB / 1.73 GB, free: 192.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009678/2.629, allocations: 0.7177 MB / 1.731 GB, free: 191.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/2.63, allocations: 359.9 kB / 1.731 GB, free: 191 MB / 1.279 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.001993/2.632, allocations: 0.5918 MB / 1.732 GB, free: 190.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004289/2.636, allocations: 1.142 MB / 1.733 GB, free: 189.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02465/2.661, allocations: 12.69 MB / 1.745 GB, free: 176.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.015/2.676, allocations: 9.051 MB / 1.754 GB, free: 167.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001162/2.676, allocations: 31.97 kB / 1.754 GB, free: 167.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007306/2.684, allocations: 2.812 MB / 1.757 GB, free: 164.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003692/2.687, allocations: 144 kB / 1.757 GB, free: 164.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008051/2.695, allocations: 394.7 kB / 1.757 GB, free: 164 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00149/2.697, allocations: 0.7694 MB / 1.758 GB, free: 163.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.019/2.716, allocations: 10.34 MB / 1.768 GB, free: 152.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02162/2.738, allocations: 14.43 MB / 1.782 GB, free: 138.4 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005498/2.743, allocations: 4.187 MB / 1.786 GB, free: 134.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01858/2.762, allocations: 9.96 MB / 1.796 GB, free: 124.3 MB / 1.279 GB Notification: Performance of Backend: time 9.72e-07/2.762, allocations: 3.938 kB / 1.796 GB, free: 124.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02781/2.79, allocations: 12.16 MB / 1.808 GB, free: 112 MB / 1.279 GB Notification: Performance of SimCode: time 0.05865/2.848, allocations: 33.84 MB / 1.841 GB, free: 78.14 MB / 1.279 GB Notification: Performance of Templates: time 0.9785/3.827, allocations: 296.4 MB / 2.13 GB, free: 0.5019 GB / 1.467 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.sim & ./Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe 2>&1)