Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,fileNamePrefix="Buildings_latest_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.001134/0.001134, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001139/0.001139, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.451/2.451, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004041, allocations: 15.92 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.639/0.6395, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.1018/0.7413, allocations: 109.4 MB / 1.088 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03491/0.7763, allocations: 26.14 MB / 1.113 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004201/0.7805, allocations: 111.3 kB / 1.114 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00368/0.7842, allocations: 1.06 MB / 1.115 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.7947, allocations: 3.641 MB / 1.118 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006919/0.8016, allocations: 2.208 MB / 1.12 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01183/0.8134, allocations: 9.468 MB / 1.13 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004424/0.8179, allocations: 1.898 MB / 1.131 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006434/0.8244, allocations: 2.683 MB / 1.134 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.8285, allocations: 2.135 MB / 1.136 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009696/0.8295, allocations: 116 kB / 1.136 GB, free: 7 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009247/0.8388, allocations: 2.308 MB / 1.139 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.8402, allocations: 0.5132 MB / 1.139 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.842, allocations: 0.6368 MB / 1.14 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006307/0.8483, allocations: 4.049 MB / 1.144 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8484, allocations: 3.938 kB / 1.144 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8484, allocations: 0 / 1.144 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001548/0.8485, allocations: 4 kB / 1.144 GB, free: 15.46 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.0066/0.8551, allocations: 3.038 MB / 1.147 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8552, allocations: 12.03 kB / 1.147 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006042/0.8558, allocations: 252.9 kB / 1.147 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.8569, allocations: 344 kB / 1.147 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/0.8621, allocations: 2.51 MB / 1.15 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.8623, allocations: 135.3 kB / 1.15 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003373/0.8626, allocations: 172 kB / 1.15 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/0.8663, allocations: 1.88 MB / 1.152 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/0.8664, allocations: 7.906 kB / 1.152 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.8666, allocations: 72 kB / 1.152 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.8667, allocations: 44 kB / 1.152 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.8694, allocations: 1.379 MB / 1.153 GB, free: 5.418 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.01375/0.8832, allocations: 9.987 MB / 1.163 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.8849, allocations: 0.9023 MB / 1.164 GB, free: 9.777 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008647/0.8857, allocations: 0.5437 MB / 1.164 GB, free: 9.234 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002331/0.8881, allocations: 3.08 MB / 1.167 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.8882, allocations: 47.56 kB / 1.167 GB, free: 5.414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=120): time 6.873e-06/0.8882, allocations: 0 / 1.167 GB, free: 5.414 MB / 0.92 GB Notification: Performance of matching and sorting (n=120): time 0.005193/0.8934, allocations: 2.145 MB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.8934, allocations: 64.41 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.8973, allocations: 2.193 MB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.8974, allocations: 53.64 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.8986, allocations: 1.185 MB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004479/0.899, allocations: 425.7 kB / 1.173 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.8991, allocations: 32 kB / 1.173 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8993, allocations: 365.9 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008659/0.9002, allocations: 475.8 kB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.9013, allocations: 0.8171 MB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.9023, allocations: 0.592 MB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.9023, allocations: 4 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004042/0.9064, allocations: 1.862 MB / 1.177 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002528/0.9066, allocations: 368.2 kB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/0.9067, allocations: 16 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.9081, allocations: 313.3 kB / 1.178 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009218/0.9091, allocations: 299.5 kB / 1.178 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.9102, allocations: 1.292 MB / 1.18 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.9121, allocations: 234.4 kB / 1.18 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.9123, allocations: 79.91 kB / 1.18 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.9123, allocations: 5.719 kB / 1.18 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003291/0.9156, allocations: 1.602 MB / 1.181 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-05/0.9156, allocations: 16 kB / 1.181 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.9169, allocations: 309.8 kB / 1.182 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/0.9178, allocations: 291.5 kB / 1.182 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.9188, allocations: 1.3 MB / 1.183 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.9207, allocations: 206.7 kB / 1.183 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.9209, allocations: 75.97 kB / 1.184 GB, free: 4.352 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 (169): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001193/0.9221, allocations: 0.5749 MB / 1.184 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006119/0.9227, allocations: 260.8 kB / 1.184 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004793/0.9275, allocations: 2.329 MB / 1.187 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/0.9276, allocations: 27.98 kB / 1.187 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.9276, allocations: 0 / 1.187 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003046/0.9307, allocations: 1.733 MB / 1.188 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.9409, allocations: 5.122 MB / 1.193 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/0.941, allocations: 8 kB / 1.193 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008424/0.9418, allocations: 227.7 kB / 1.194 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.9429, allocations: 237.4 kB / 1.194 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.943, allocations: 51.97 kB / 1.194 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.9441, allocations: 1.3 MB / 1.195 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/0.9442, allocations: 11.94 kB / 1.195 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005152/0.9493, allocations: 2.928 MB / 1.198 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/0.9513, allocations: 0.6256 MB / 1.199 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008705/0.9522, allocations: 47.94 kB / 1.199 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/0.9543, allocations: 136.8 kB / 1.199 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/0.9546, allocations: 129 kB / 1.199 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/0.9548, allocations: 79.94 kB / 1.199 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0036/0.9584, allocations: 1.592 MB / 1.201 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9584, allocations: 0 / 1.201 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004743/0.9632, allocations: 1.513 MB / 1.202 GB, free: 0.9844 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007065/0.9702, allocations: 4.22 MB / 1.206 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004372/0.9746, allocations: 2.368 MB / 1.208 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.9747, allocations: 4 kB / 1.208 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.9764, allocations: 0.9771 MB / 1.209 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007601/0.984, allocations: 1.414 MB / 1.211 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0383/1.022, allocations: 17.41 MB / 1.228 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/1.024, allocations: 1.71 MB / 1.229 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003007/1.027, allocations: 0.6662 MB / 1.23 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/1.029, allocations: 1.151 MB / 1.231 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of SimCode: time 8.21e-07/1.029, allocations: 0 / 1.231 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6101/1.639, allocations: 87.99 MB / 1.317 GB, free: 202.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/1.639, allocations: 285.2 kB / 1.317 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.005/5.644, allocations: 4 kB / 1.317 GB, free: 201.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1) Environment - environmentSimulation: