Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe",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.0008895/0.0008895, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005406/0.005406, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 12 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5144, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.08924/0.6037, allocations: 115.8 MB / 1.136 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02992/0.6337, allocations: 27.69 MB / 1.163 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003214/0.6369, allocations: 111.2 kB / 1.163 GB, free: 15.76 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.6397, allocations: 1.239 MB / 1.165 GB, free: 14.51 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009011/0.6487, allocations: 4.254 MB / 1.169 GB, free: 10.24 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005899/0.6546, allocations: 2.811 MB / 1.171 GB, free: 7.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009899/0.6645, allocations: 11.01 MB / 1.182 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/0.6671, allocations: 2.165 MB / 1.184 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/0.6713, allocations: 2.811 MB / 1.187 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.6737, allocations: 2.259 MB / 1.189 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.6739, allocations: 120 kB / 1.189 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008053/0.682, allocations: 3.221 MB / 1.193 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004908/0.6825, allocations: 0.5482 MB / 1.193 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.6838, allocations: 1.525 MB / 1.195 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01791/0.7018, allocations: 18.19 MB / 1.212 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7018, allocations: 3.938 kB / 1.212 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7018, allocations: 0 / 1.212 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.479e-05/0.7018, allocations: 0 / 1.212 GB, free: 13.38 MB / 0.9669 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.00472/0.7066, allocations: 3.013 MB / 1.215 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.7066, allocations: 8.031 kB / 1.215 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002696/0.7069, allocations: 249 kB / 1.216 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000621/0.7075, allocations: 352 kB / 1.216 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.7111, allocations: 2.604 MB / 1.218 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/0.7112, allocations: 131.4 kB / 1.219 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.7114, allocations: 187.9 kB / 1.219 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.714, allocations: 1.893 MB / 1.221 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.7141, allocations: 7.984 kB / 1.221 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.7142, allocations: 68 kB / 1.221 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.7143, allocations: 48 kB / 1.221 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.7164, allocations: 1.379 MB / 1.222 GB, free: 3.246 MB / 0.9669 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.009242/0.7256, allocations: 9.994 MB / 1.232 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.7269, allocations: 0.9217 MB / 1.233 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/0.7276, allocations: 0.5307 MB / 1.233 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/0.7295, allocations: 3.088 MB / 1.236 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.7296, allocations: 47.56 kB / 1.236 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=120): time 2.916e-06/0.7296, allocations: 4 kB / 1.236 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=120): time 0.00438/0.734, allocations: 2.141 MB / 1.238 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.734, allocations: 68.41 kB / 1.238 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.7367, allocations: 2.22 MB / 1.241 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.922e-05/0.7368, allocations: 49.7 kB / 1.241 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007885/0.7375, allocations: 1.181 MB / 1.242 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.7379, allocations: 433.7 kB / 1.242 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.738, allocations: 121.6 kB / 1.242 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.7381, allocations: 301.1 kB / 1.243 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000724/0.7388, allocations: 479.8 kB / 1.243 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009276/0.7398, allocations: 0.8327 MB / 1.244 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.7415, allocations: 1.355 MB / 1.245 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.7415, allocations: 4 kB / 1.245 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00324/0.7447, allocations: 1.886 MB / 1.247 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.7449, allocations: 371.8 kB / 1.247 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.7449, allocations: 15.94 kB / 1.247 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.7462, allocations: 309.5 kB / 1.248 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008375/0.7471, allocations: 291.5 kB / 1.248 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008263/0.7479, allocations: 1.304 MB / 1.249 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.7494, allocations: 226.3 kB / 1.249 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.7496, allocations: 75.95 kB / 1.25 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-06/0.7496, allocations: 4 kB / 1.25 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00291/0.7525, allocations: 1.617 MB / 1.251 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.7526, allocations: 19.92 kB / 1.251 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.7538, allocations: 310 kB / 1.251 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/0.7546, allocations: 283.5 kB / 1.252 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007953/0.7554, allocations: 1.311 MB / 1.253 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.7568, allocations: 206.7 kB / 1.253 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.7569, allocations: 75.97 kB / 1.253 GB, free: 1.148 MB / 0.9981 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 (169): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0008288/0.7578, allocations: 0.5827 MB / 1.254 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.7581, allocations: 256.9 kB / 1.254 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3821/1.14, allocations: 2.318 MB / 1.256 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/1.14, allocations: 26.11 kB / 1.256 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.14, allocations: 3.375 kB / 1.256 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002747/1.143, allocations: 1.739 MB / 1.258 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008249/1.151, allocations: 5.126 MB / 1.263 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/1.151, allocations: 11.48 kB / 1.263 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008159/1.152, allocations: 224.4 kB / 1.263 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009281/1.153, allocations: 237 kB / 1.264 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.732e-05/1.153, allocations: 52.72 kB / 1.264 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006403/1.154, allocations: 1.298 MB / 1.265 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.154, allocations: 10.81 kB / 1.265 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004686/1.159, allocations: 2.946 MB / 1.268 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008903/1.159, allocations: 0.6298 MB / 1.268 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/1.16, allocations: 43.67 kB / 1.268 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/1.161, allocations: 139.5 kB / 1.269 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/1.161, allocations: 134.8 kB / 1.269 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.161, allocations: 77.47 kB / 1.269 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00224/1.164, allocations: 1.62 MB / 1.27 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.164, allocations: 3.094 kB / 1.27 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003274/1.167, allocations: 1.519 MB / 1.272 GB, free: 214.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,senTemInl.T,senTemOut.T,pipRev.del.x,pipRev.timDel.x,pipRev.vol_b.dynBal.U,pipRev.vol_a.dynBal.U,senTemOutRev.T,senTemInlRev.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 (142): * 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: 2 * 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): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00956/1.177, allocations: 6.974 MB / 1.279 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003047/1.18, allocations: 2.381 MB / 1.281 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.18, allocations: 1.625 kB / 1.281 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.181, allocations: 0.9831 MB / 1.282 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007696/1.188, allocations: 1.414 MB / 1.283 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.027/1.215, allocations: 21.94 MB / 1.305 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007546/1.216, allocations: 1.71 MB / 1.306 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00198/1.218, allocations: 0.676 MB / 1.307 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009619/1.219, allocations: 1.151 MB / 1.308 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.219, allocations: 0 / 1.308 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.728/6.947, allocations: 85.44 MB / 1.392 GB, free: 104.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/6.947, allocations: 288.4 kB / 1.392 GB, free: 104.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.292/12.24, allocations: 6.875 kB / 1.392 GB, free: 104.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.fmu > Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)