Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.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.TwoBuriedPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 110.3 kB / 16.42 MB, free: 6.469 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.001701/0.001701, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 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.495/2.495, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 60.12 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7263/0.7276, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.1119/0.8396, allocations: 118.2 MB / 1.283 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0359/0.8755, allocations: 27.79 MB / 1.31 GB, free: 1.387 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004013/0.8796, allocations: 127.2 kB / 1.31 GB, free: 1.262 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.8833, allocations: 1.541 MB / 1.311 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.8944, allocations: 4.765 MB / 1.316 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007414/0.9018, allocations: 3.146 MB / 1.319 GB, free: 7.793 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.9121, allocations: 8.363 MB / 1.327 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003901/0.916, allocations: 2.656 MB / 1.33 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007047/0.923, allocations: 3.369 MB / 1.333 GB, free: 9.316 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/0.9268, allocations: 2.283 MB / 1.335 GB, free: 7.023 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008157/0.9277, allocations: 284 kB / 1.336 GB, free: 6.746 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006619/0.9343, allocations: 2.831 MB / 1.339 GB, free: 3.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.9354, allocations: 0.7161 MB / 1.339 GB, free: 3.191 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002787/0.9382, allocations: 1.66 MB / 1.341 GB, free: 1.523 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008465/0.9467, allocations: 5.326 MB / 1.346 GB, free: 12.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.9467, allocations: 0 / 1.346 GB, free: 12.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9467, allocations: 0 / 1.346 GB, free: 12.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001311/0.9469, allocations: 0 / 1.346 GB, free: 12.18 MB / 1.076 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.007516/0.9544, allocations: 3.53 MB / 1.349 GB, free: 8.586 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9544, allocations: 8.922 kB / 1.349 GB, free: 8.578 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.9556, allocations: 348.1 kB / 1.35 GB, free: 8.234 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/0.9605, allocations: 2.592 MB / 1.352 GB, free: 5.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.163e-05/0.9606, allocations: 127.4 kB / 1.352 GB, free: 5.445 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/0.9609, allocations: 179.9 kB / 1.353 GB, free: 5.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.9641, allocations: 1.903 MB / 1.354 GB, free: 3.297 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.9641, allocations: 0 / 1.354 GB, free: 3.297 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.9643, allocations: 68 kB / 1.355 GB, free: 3.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.787e-05/0.9644, allocations: 59.94 kB / 1.355 GB, free: 3.172 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.9668, allocations: 1.395 MB / 1.356 GB, free: 1.773 MB / 1.076 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.01205/0.9789, allocations: 9.992 MB / 1.366 GB, free: 7.027 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.9804, allocations: 0.8989 MB / 1.367 GB, free: 6.125 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008302/0.9813, allocations: 0.5465 MB / 1.367 GB, free: 5.578 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002483/0.9838, allocations: 3.076 MB / 1.37 GB, free: 1.82 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.9838, allocations: 47.56 kB / 1.37 GB, free: 1.762 MB / 1.092 GB Notification: Performance of pre-optimization done (n=121): time 3.556e-06/0.9838, allocations: 3.938 kB / 1.37 GB, free: 1.758 MB / 1.092 GB Notification: Performance of matching and sorting (n=121): time 0.006434/0.9903, allocations: 2.24 MB / 1.372 GB, free: 15.49 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.9903, allocations: 64.41 kB / 1.372 GB, free: 15.41 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/0.9935, allocations: 2.157 MB / 1.375 GB, free: 13.24 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.9937, allocations: 49.7 kB / 1.375 GB, free: 13.19 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009151/0.9946, allocations: 1.161 MB / 1.376 GB, free: 12.01 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.995, allocations: 433.7 kB / 1.376 GB, free: 11.58 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004235/0.9954, allocations: 287.3 kB / 1.376 GB, free: 11.29 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.9955, allocations: 301.1 kB / 1.377 GB, free: 11 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000835/0.9964, allocations: 472.6 kB / 1.377 GB, free: 10.53 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.9975, allocations: 0.7986 MB / 1.378 GB, free: 9.602 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.9995, allocations: 1.32 MB / 1.379 GB, free: 8.156 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.9995, allocations: 0 / 1.379 GB, free: 8.156 MB / 1.107 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004352/1.004, allocations: 1.869 MB / 1.381 GB, free: 6.273 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.004, allocations: 12.06 kB / 1.381 GB, free: 6.262 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/1.004, allocations: 12 kB / 1.381 GB, free: 6.25 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/1.006, allocations: 372.5 kB / 1.381 GB, free: 5.883 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/1.007, allocations: 295.5 kB / 1.382 GB, free: 5.594 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/1.008, allocations: 0.8683 MB / 1.383 GB, free: 4.699 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.01, allocations: 170.2 kB / 1.383 GB, free: 4.531 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/1.01, allocations: 75.97 kB / 1.383 GB, free: 4.457 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001519/1.011, allocations: 0.8592 MB / 1.384 GB, free: 3.594 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001093/1.012, allocations: 0.791 MB / 1.384 GB, free: 2.672 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001995/1.014, allocations: 1.316 MB / 1.386 GB, free: 1.23 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.825e-06/1.014, allocations: 4 kB / 1.386 GB, free: 1.227 MB / 1.107 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004286/1.019, allocations: 1.846 MB / 1.388 GB, free: 15.37 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.019, allocations: 17.97 kB / 1.388 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/1.019, allocations: 12.56 kB / 1.388 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/1.021, allocations: 388.5 kB / 1.388 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.022, allocations: 287.5 kB / 1.388 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/1.023, allocations: 0.8684 MB / 1.389 GB, free: 13.78 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.024, allocations: 118.9 kB / 1.389 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/1.024, allocations: 79.91 kB / 1.389 GB, free: 13.59 MB / 1.123 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 (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003579/1.025, allocations: 259.9 kB / 1.389 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005426/1.025, allocations: 248.9 kB / 1.39 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/1.03, allocations: 2.377 MB / 1.392 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003402/1.034, allocations: 1.794 MB / 1.394 GB, free: 8.863 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/1.034, allocations: 11.88 kB / 1.394 GB, free: 8.852 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.035, allocations: 0.5441 MB / 1.394 GB, free: 8.285 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003894/1.035, allocations: 32 kB / 1.394 GB, free: 8.254 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.036, allocations: 55.89 kB / 1.394 GB, free: 8.199 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/1.037, allocations: 129.1 kB / 1.395 GB, free: 8.07 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004045/1.041, allocations: 1.943 MB / 1.396 GB, free: 6.117 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004176/1.045, allocations: 2.769 MB / 1.399 GB, free: 3.332 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001199/1.046, allocations: 0.7527 MB / 1.4 GB, free: 2.574 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003083/1.049, allocations: 1.461 MB / 1.401 GB, free: 1.105 MB / 1.123 GB Notification: Performance of Backend: time 1.744e-06/1.049, allocations: 4 kB / 1.401 GB, free: 1.102 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00846/1.058, allocations: 2.876 MB / 1.404 GB, free: 14.2 MB / 1.139 GB Notification: Performance of SimCode: time 0.01037/1.068, allocations: 6 MB / 1.41 GB, free: 8.133 MB / 1.139 GB Notification: Performance of Templates: time 0.09574/1.164, allocations: 60.71 MB / 1.469 GB, free: 11.93 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.sim & ./Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)