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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008969/0.0008969, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005191/0.005191, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.187/1.187, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.9 MB / 0.6664 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002893, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5153, allocations: 142.4 MB / 0.9552 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.09701/0.6123, allocations: 115.5 MB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03143/0.6438, allocations: 27.6 MB / 1.095 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003531/0.6473, allocations: 107.3 kB / 1.095 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.6505, allocations: 1.231 MB / 1.096 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009295/0.6598, allocations: 4.21 MB / 1.1 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005916/0.6657, allocations: 2.792 MB / 1.103 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009595/0.6753, allocations: 10.85 MB / 1.114 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.6779, allocations: 2.153 MB / 1.116 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00438/0.6823, allocations: 2.757 MB / 1.118 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.6847, allocations: 2.209 MB / 1.121 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.685, allocations: 119.9 kB / 1.121 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007804/0.6928, allocations: 3.209 MB / 1.124 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000498/0.6933, allocations: 0.5443 MB / 1.124 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.6947, allocations: 1.49 MB / 1.126 GB, free: 24 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.714, allocations: 18.12 MB / 1.144 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.714, allocations: 0 / 1.144 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7141, allocations: 0 / 1.144 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.7141, allocations: 0 / 1.144 GB, free: 13.84 MB / 0.9044 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.005/0.7191, allocations: 2.993 MB / 1.146 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.7191, allocations: 8.031 kB / 1.146 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002818/0.7194, allocations: 249 kB / 1.147 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006538/0.7201, allocations: 340.1 kB / 1.147 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.7238, allocations: 2.583 MB / 1.15 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/0.7239, allocations: 135.4 kB / 1.15 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.7242, allocations: 179.9 kB / 1.15 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.7272, allocations: 1.899 MB / 1.152 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.7272, allocations: 15.83 kB / 1.152 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.7274, allocations: 72 kB / 1.152 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.7274, allocations: 55.94 kB / 1.152 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.7298, allocations: 1.403 MB / 1.153 GB, free: 3.699 MB / 0.9044 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.01053/0.7403, allocations: 10.01 MB / 1.163 GB, free: 8.938 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.7417, allocations: 0.916 MB / 1.164 GB, free: 8.012 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007887/0.7425, allocations: 0.5541 MB / 1.164 GB, free: 7.457 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002158/0.7447, allocations: 3.084 MB / 1.167 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.7447, allocations: 51.56 kB / 1.167 GB, free: 3.633 MB / 0.92 GB Notification: Performance of pre-optimization done (n=121): time 2.605e-06/0.7447, allocations: 4 kB / 1.167 GB, free: 3.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=121): time 0.005485/0.7502, allocations: 2.248 MB / 1.17 GB, free: 1.348 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.7503, allocations: 72.34 kB / 1.17 GB, free: 1.266 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.7529, allocations: 2.181 MB / 1.172 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/0.753, allocations: 49.7 kB / 1.172 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008415/0.7539, allocations: 1.173 MB / 1.173 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.7543, allocations: 429.7 kB / 1.173 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.7544, allocations: 121.6 kB / 1.174 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8e-05/0.7545, allocations: 301.1 kB / 1.174 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.7553, allocations: 487.8 kB / 1.174 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.7563, allocations: 0.8152 MB / 1.175 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.7581, allocations: 1.359 MB / 1.176 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.7582, allocations: 8 kB / 1.176 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00375/0.7619, allocations: 1.9 MB / 1.178 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.7621, allocations: 375.9 kB / 1.179 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.7622, allocations: 12 kB / 1.179 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.7639, allocations: 384.4 kB / 1.179 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008777/0.7648, allocations: 291.5 kB / 1.179 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007201/0.7656, allocations: 0.8293 MB / 1.18 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.7671, allocations: 234.3 kB / 1.18 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.7672, allocations: 79.97 kB / 1.18 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-06/0.7672, allocations: 0 / 1.18 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003446/0.7706, allocations: 1.667 MB / 1.182 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.7707, allocations: 15.94 kB / 1.182 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.7724, allocations: 393 kB / 1.182 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.7733, allocations: 291.5 kB / 1.183 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006847/0.774, allocations: 0.8138 MB / 1.184 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.7753, allocations: 218.6 kB / 1.184 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.7754, allocations: 75.97 kB / 1.184 GB, free: 2.32 MB / 0.9356 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 (168): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007307/0.7761, allocations: 0.5748 MB / 1.184 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.7764, allocations: 248.9 kB / 1.185 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/0.781, allocations: 2.392 MB / 1.187 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.781, allocations: 23.98 kB / 1.187 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.781, allocations: 0 / 1.187 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003172/0.7842, allocations: 1.81 MB / 1.189 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008309/0.7925, allocations: 5.167 MB / 1.194 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/0.7925, allocations: 8 kB / 1.194 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008299/0.7934, allocations: 236.5 kB / 1.194 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.7948, allocations: 310.9 kB / 1.194 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.983e-05/0.7949, allocations: 47.97 kB / 1.194 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007178/0.7957, allocations: 0.8255 MB / 1.195 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7957, allocations: 7.938 kB / 1.195 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004855/0.8005, allocations: 3.023 MB / 1.198 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009057/0.8015, allocations: 0.6218 MB / 1.199 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.8018, allocations: 43.92 kB / 1.199 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.8032, allocations: 147.6 kB / 1.199 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.8034, allocations: 129 kB / 1.199 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.8035, allocations: 76.05 kB / 1.199 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002277/0.8058, allocations: 1.598 MB / 1.201 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8058, allocations: 0 / 1.201 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00333/0.8092, allocations: 1.513 MB / 1.202 GB, free: 15.11 MB / 0.9669 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 {(1,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01063/0.8198, allocations: 6.995 MB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00354/0.8234, allocations: 2.372 MB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8234, allocations: 0 / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.8248, allocations: 0.9867 MB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00802/0.8328, allocations: 1.403 MB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03576/0.8686, allocations: 21.49 MB / 1.235 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.8699, allocations: 1.685 MB / 1.236 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002175/0.8721, allocations: 0.6733 MB / 1.237 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/0.8734, allocations: 1.116 MB / 1.238 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/0.8734, allocations: 4 kB / 1.238 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.745/2.618, allocations: 84.09 MB / 1.32 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/2.619, allocations: 291.6 kB / 1.32 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.155/6.774, allocations: 0 / 1.32 GB, free: 221.4 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.fmu > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)