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.00926/0.00926, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.00187/0.00187, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.7/2.7, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3767, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.7292/1.106, allocations: 118.2 MB / 1.282 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03548/1.141, allocations: 27.78 MB / 1.309 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006955/1.148, allocations: 127.4 kB / 1.309 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004866/1.153, allocations: 1.512 MB / 1.311 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01476/1.168, allocations: 4.546 MB / 1.315 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009592/1.178, allocations: 3.121 MB / 1.318 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01378/1.192, allocations: 8.353 MB / 1.326 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005668/1.197, allocations: 2.641 MB / 1.329 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009366/1.207, allocations: 3.289 MB / 1.332 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005055/1.212, allocations: 2.288 MB / 1.334 GB, free: 9.168 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001361/1.213, allocations: 282.8 kB / 1.335 GB, free: 9.168 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008762/1.222, allocations: 2.826 MB / 1.337 GB, free: 8.094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001706/1.224, allocations: 0.7115 MB / 1.338 GB, free: 7.641 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004412/1.228, allocations: 1.66 MB / 1.34 GB, free: 6.625 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/1.242, allocations: 5.348 MB / 1.345 GB, free: 4.617 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/1.242, allocations: 4 kB / 1.345 GB, free: 4.613 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/1.242, allocations: 0 / 1.345 GB, free: 4.613 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001874/1.242, allocations: 1.688 kB / 1.345 GB, free: 4.613 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.01026/1.253, allocations: 3.638 MB / 1.349 GB, free: 2.148 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.253, allocations: 10.34 kB / 1.349 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/1.254, allocations: 359.6 kB / 1.349 GB, free: 1.965 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006101/1.261, allocations: 2.627 MB / 1.351 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/1.261, allocations: 130.7 kB / 1.352 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004814/1.261, allocations: 179.6 kB / 1.352 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/1.266, allocations: 1.9 MB / 1.354 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.364e-05/1.266, allocations: 9.266 kB / 1.354 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/1.266, allocations: 72.5 kB / 1.354 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/1.266, allocations: 45.38 kB / 1.354 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/1.269, allocations: 1.405 MB / 1.355 GB, free: 13.92 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.01422/1.283, allocations: 9.988 MB / 1.365 GB, free: 5.051 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/1.285, allocations: 0.9101 MB / 1.366 GB, free: 4.598 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008889/1.286, allocations: 0.5508 MB / 1.366 GB, free: 4.324 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002339/1.288, allocations: 3.076 MB / 1.369 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/1.288, allocations: 44.59 kB / 1.369 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of pre-optimization done (n=121): time 3.617e-06/1.288, allocations: 0 / 1.369 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of matching and sorting (n=121): time 0.006993/1.295, allocations: 2.259 MB / 1.372 GB, free: 15.52 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.295, allocations: 62.78 kB / 1.372 GB, free: 15.46 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003908/1.299, allocations: 2.156 MB / 1.374 GB, free: 14.31 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002319/1.3, allocations: 51.05 kB / 1.374 GB, free: 14.26 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/1.301, allocations: 1.183 MB / 1.375 GB, free: 13.21 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006707/1.301, allocations: 456.5 kB / 1.375 GB, free: 12.81 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007783/1.302, allocations: 291.9 kB / 1.376 GB, free: 12.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.302, allocations: 301.1 kB / 1.376 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/1.304, allocations: 470.9 kB / 1.376 GB, free: 12.11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.305, allocations: 0.8056 MB / 1.377 GB, free: 11.46 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/1.308, allocations: 1.309 MB / 1.378 GB, free: 10.55 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/1.308, allocations: 2.844 kB / 1.378 GB, free: 10.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005571/1.313, allocations: 1.877 MB / 1.38 GB, free: 9.609 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.314, allocations: 10.94 kB / 1.38 GB, free: 9.609 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/1.314, allocations: 13.25 kB / 1.38 GB, free: 9.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/1.315, allocations: 380.1 kB / 1.381 GB, free: 9.453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009535/1.316, allocations: 294.2 kB / 1.381 GB, free: 9.383 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/1.318, allocations: 0.8697 MB / 1.382 GB, free: 8.688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/1.32, allocations: 165.6 kB / 1.382 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/1.32, allocations: 78.73 kB / 1.382 GB, free: 8.547 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001618/1.321, allocations: 0.8594 MB / 1.383 GB, free: 7.992 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001189/1.323, allocations: 0.7949 MB / 1.384 GB, free: 7.066 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00211/1.325, allocations: 1.308 MB / 1.385 GB, free: 5.633 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.963e-06/1.325, allocations: 4 kB / 1.385 GB, free: 5.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004705/1.329, allocations: 1.867 MB / 1.387 GB, free: 3.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.33, allocations: 8 kB / 1.387 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/1.33, allocations: 12 kB / 1.387 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/1.331, allocations: 388.9 kB / 1.387 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/1.332, allocations: 291.5 kB / 1.387 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/1.334, allocations: 0.8607 MB / 1.388 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/1.336, allocations: 139.2 kB / 1.388 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/1.336, allocations: 71.97 kB / 1.388 GB, free: 1.969 MB / 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 (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.0004151/1.336, allocations: 263.8 kB / 1.389 GB, free: 1.703 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008307/1.337, allocations: 266.3 kB / 1.389 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005337/1.342, allocations: 2.375 MB / 1.391 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-05/1.342, allocations: 19.98 kB / 1.391 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/1.342, allocations: 0 / 1.391 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003576/1.346, allocations: 1.802 MB / 1.393 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.357, allocations: 5.152 MB / 1.398 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.404e-05/1.357, allocations: 8 kB / 1.398 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009264/1.358, allocations: 235.6 kB / 1.398 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/1.359, allocations: 305 kB / 1.399 GB, free: 7.289 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/1.359, allocations: 59.91 kB / 1.399 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/1.361, allocations: 0.8646 MB / 1.399 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.361, allocations: 11.94 kB / 1.399 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00602/1.367, allocations: 3.024 MB / 1.402 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.368, allocations: 0.5883 MB / 1.403 GB, free: 2.594 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000859/1.369, allocations: 39.92 kB / 1.403 GB, free: 2.555 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/1.371, allocations: 67.91 kB / 1.403 GB, free: 2.488 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/1.371, allocations: 133 kB / 1.403 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002034/1.371, allocations: 79.94 kB / 1.403 GB, free: 2.281 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003499/1.375, allocations: 1.578 MB / 1.405 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.01e-07/1.375, allocations: 0 / 1.405 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.006235/1.381, allocations: 1.473 MB / 1.406 GB, free: 15.22 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (pipChW.del.x,pipChW.timDel.x,pipChW.vol_b.dynBal.U,pipChW.vol_a.dynBal.U,senTemChWIn.T,senTemChWOut.T,pipHotW.del.x,pipHotW.timDel.x,pipHotW.vol_b.dynBal.U,pipHotW.vol_a.dynBal.U,senTemHotWIn.T,senTemHotWOut.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 (141): * 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: 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002641/1.384, allocations: 0.9758 MB / 1.407 GB, free: 14.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005226/1.389, allocations: 2.423 MB / 1.41 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.389, allocations: 0 / 1.41 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/1.391, allocations: 1.051 MB / 1.411 GB, free: 10.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008235/1.399, allocations: 1.483 MB / 1.412 GB, free: 9.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008671/1.408, allocations: 4.944 MB / 1.417 GB, free: 4.215 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/1.41, allocations: 1.685 MB / 1.419 GB, free: 2.496 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002916/1.413, allocations: 0.6637 MB / 1.419 GB, free: 1.852 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/1.414, allocations: 239.3 kB / 1.419 GB, free: 1.617 MB / 1.076 GB Notification: Performance of SimCode: time 7.22e-07/1.414, allocations: 0 / 1.419 GB, free: 1.617 MB / 1.076 GB Notification: Performance of Templates: time 0.09878/1.512, allocations: 60.91 MB / 1.479 GB, free: 5.391 MB / 1.139 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)