Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TwoBuriedPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_9_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_9_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.007808/0.007808, allocations: 102 kB / 15.73 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.001859/0.00186, allocations: 200.7 kB / 16.68 MB, free: 6.352 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.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.389/2.389, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.31 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2529, allocations: 140.4 MB / 1.088 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.1127/0.3657, allocations: 118.2 MB / 1.203 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03777/0.4035, allocations: 27.8 MB / 1.23 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004919/0.4084, allocations: 123.3 kB / 1.231 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00452/0.4131, allocations: 1.553 MB / 1.232 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.4259, allocations: 4.747 MB / 1.237 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008573/0.4344, allocations: 3.163 MB / 1.24 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01193/0.4464, allocations: 8.357 MB / 1.248 GB, free: 13.22 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004121/0.4506, allocations: 2.641 MB / 1.251 GB, free: 10.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00772/0.4583, allocations: 3.364 MB / 1.254 GB, free: 7.152 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004237/0.4625, allocations: 2.295 MB / 1.256 GB, free: 4.848 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.4636, allocations: 284 kB / 1.256 GB, free: 4.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006942/0.4705, allocations: 2.831 MB / 1.259 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.4717, allocations: 0.7161 MB / 1.26 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.6168/1.089, allocations: 1.657 MB / 1.261 GB, free: 24.74 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/1.102, allocations: 5.341 MB / 1.267 GB, free: 24.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.102, allocations: 0.7812 kB / 1.267 GB, free: 24.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/1.102, allocations: 0 / 1.267 GB, free: 24.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001244/1.102, allocations: 1.547 kB / 1.267 GB, free: 24.41 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.01071/1.112, allocations: 3.641 MB / 1.27 GB, free: 22.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.113, allocations: 10 kB / 1.27 GB, free: 22.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/1.114, allocations: 356.6 kB / 1.271 GB, free: 22.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006842/1.121, allocations: 2.616 MB / 1.273 GB, free: 21.92 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/1.121, allocations: 134 kB / 1.273 GB, free: 21.92 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/1.122, allocations: 177.7 kB / 1.273 GB, free: 21.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004786/1.126, allocations: 1.898 MB / 1.275 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-05/1.127, allocations: 6.359 kB / 1.275 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/1.127, allocations: 72.78 kB / 1.275 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-05/1.127, allocations: 47.36 kB / 1.275 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/1.13, allocations: 1.398 MB / 1.277 GB, free: 21.66 MB / 1.014 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.01653/1.146, allocations: 9.997 MB / 1.287 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/1.148, allocations: 0.9146 MB / 1.287 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009008/1.149, allocations: 0.5455 MB / 1.288 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/1.151, allocations: 3.071 MB / 1.291 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/1.151, allocations: 55.66 kB / 1.291 GB, free: 12.92 MB / 1.014 GB Notification: Performance of pre-optimization done (n=121): time 3.667e-06/1.151, allocations: 0 / 1.291 GB, free: 12.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=121): time 0.007256/1.158, allocations: 2.243 MB / 1.293 GB, free: 12.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/1.158, allocations: 64.59 kB / 1.293 GB, free: 12.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/1.163, allocations: 2.155 MB / 1.295 GB, free: 12.33 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000357/1.163, allocations: 52.67 kB / 1.295 GB, free: 12.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009215/1.164, allocations: 1.187 MB / 1.297 GB, free: 11.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005553/1.165, allocations: 455.1 kB / 1.297 GB, free: 11.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004593/1.165, allocations: 287.3 kB / 1.297 GB, free: 11.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.58e-05/1.165, allocations: 305.8 kB / 1.298 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/1.166, allocations: 473.7 kB / 1.298 GB, free: 11.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.167, allocations: 0.7955 MB / 1.299 GB, free: 10.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/1.169, allocations: 1.317 MB / 1.3 GB, free: 10.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/1.169, allocations: 2.312 kB / 1.3 GB, free: 10.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004712/1.174, allocations: 1.872 MB / 1.302 GB, free: 10.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.174, allocations: 9 kB / 1.302 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.397e-05/1.174, allocations: 23.59 kB / 1.302 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/1.176, allocations: 373 kB / 1.302 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/1.177, allocations: 294 kB / 1.303 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/1.178, allocations: 0.875 MB / 1.303 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/1.181, allocations: 164.8 kB / 1.304 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/1.181, allocations: 77.97 kB / 1.304 GB, free: 9.691 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002039/1.183, allocations: 0.8531 MB / 1.304 GB, free: 9.605 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00126/1.184, allocations: 0.8025 MB / 1.305 GB, free: 9.242 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002117/1.186, allocations: 1.31 MB / 1.307 GB, free: 8.883 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.446e-06/1.186, allocations: 2.344 kB / 1.307 GB, free: 8.883 MB / 1.014 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004854/1.191, allocations: 1.866 MB / 1.308 GB, free: 8.652 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.191, allocations: 9.375 kB / 1.308 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/1.191, allocations: 14.91 kB / 1.308 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/1.193, allocations: 384.5 kB / 1.309 GB, free: 8.629 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/1.194, allocations: 285.7 kB / 1.309 GB, free: 8.629 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009773/1.195, allocations: 0.8762 MB / 1.31 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/1.197, allocations: 122.8 kB / 1.31 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/1.197, allocations: 71.83 kB / 1.31 GB, free: 8.047 MB / 1.014 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.0004761/1.198, allocations: 266.7 kB / 1.31 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/1.199, allocations: 259.4 kB / 1.311 GB, free: 7.723 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/1.204, allocations: 2.373 MB / 1.313 GB, free: 7.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/1.204, allocations: 29.33 kB / 1.313 GB, free: 7.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.204, allocations: 9.422 kB / 1.313 GB, free: 7.492 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003318/1.207, allocations: 1.793 MB / 1.315 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/1.217, allocations: 5.157 MB / 1.32 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-05/1.217, allocations: 10.8 kB / 1.32 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008334/1.218, allocations: 235.8 kB / 1.32 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/1.22, allocations: 306.6 kB / 1.32 GB, free: 6.066 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/1.22, allocations: 48.25 kB / 1.32 GB, free: 6.066 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009398/1.221, allocations: 0.8665 MB / 1.321 GB, free: 5.535 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.221, allocations: 9.688 kB / 1.321 GB, free: 5.535 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/1.227, allocations: 3.017 MB / 1.324 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/1.229, allocations: 0.5885 MB / 1.325 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007966/1.23, allocations: 39.81 kB / 1.325 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.231, allocations: 62.22 kB / 1.325 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/1.232, allocations: 138.2 kB / 1.325 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.232, allocations: 79.5 kB / 1.325 GB, free: 4.609 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002559/1.234, allocations: 1.574 MB / 1.327 GB, free: 4.465 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.234, allocations: 0 / 1.327 GB, free: 4.465 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005228/1.24, allocations: 1.476 MB / 1.328 GB, free: 4.254 MB / 1.014 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.002398/1.242, allocations: 0.9928 MB / 1.329 GB, free: 3.965 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004446/1.246, allocations: 2.422 MB / 1.331 GB, free: 3.672 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/1.246, allocations: 1.75 kB / 1.331 GB, free: 3.672 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/1.248, allocations: 1.044 MB / 1.332 GB, free: 3.539 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007199/1.255, allocations: 1.469 MB / 1.334 GB, free: 3.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006899/1.262, allocations: 4.955 MB / 1.339 GB, free: 1.051 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.263, allocations: 1.677 MB / 1.34 GB, free: 288 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002501/1.266, allocations: 0.6751 MB / 1.341 GB, free: 124 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/1.266, allocations: 239.4 kB / 1.341 GB, free: 112 kB / 1.014 GB Notification: Performance of SimCode: time 1.543e-06/1.266, allocations: 0 / 1.341 GB, free: 112 kB / 1.014 GB Notification: Performance of Templates: time 0.09854/1.365, allocations: 60.91 MB / 1.401 GB, free: 5.043 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)