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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001082/0.001082, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001256/0.001256, allocations: 172.7 kB / 15.95 MB, free: 208 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.361/1.361, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6272/0.6276, allocations: 142.3 MB / 0.9539 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.1046/0.7322, allocations: 109.1 MB / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0344/0.7667, allocations: 26.04 MB / 1.086 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00458/0.7713, allocations: 111.2 kB / 1.086 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.7752, allocations: 1.048 MB / 1.087 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.7858, allocations: 3.594 MB / 1.09 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006898/0.7927, allocations: 2.207 MB / 1.093 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01167/0.8044, allocations: 9.335 MB / 1.102 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003734/0.8081, allocations: 1.886 MB / 1.104 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005894/0.8141, allocations: 2.644 MB / 1.106 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/0.8179, allocations: 2.084 MB / 1.108 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006937/0.8186, allocations: 120 kB / 1.108 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008382/0.827, allocations: 2.292 MB / 1.111 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.828, allocations: 0.5094 MB / 1.111 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.8295, allocations: 0.6212 MB / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006086/0.8356, allocations: 3.982 MB / 1.116 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.8356, allocations: 0 / 1.116 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8356, allocations: 4 kB / 1.116 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000136/0.8357, allocations: 0 / 1.116 GB, free: 10.1 MB / 0.8731 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.006572/0.8423, allocations: 3.025 MB / 1.118 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.8424, allocations: 8.031 kB / 1.119 GB, free: 7 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005365/0.8429, allocations: 252.9 kB / 1.119 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.844, allocations: 340.1 kB / 1.119 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004769/0.8488, allocations: 2.499 MB / 1.122 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.8489, allocations: 131.4 kB / 1.122 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.8491, allocations: 176 kB / 1.122 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/0.8524, allocations: 1.887 MB / 1.124 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.8524, allocations: 15.86 kB / 1.124 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.8526, allocations: 68 kB / 1.124 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/0.8527, allocations: 51.94 kB / 1.124 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.8551, allocations: 1.391 MB / 1.125 GB, free: 52 kB / 0.8731 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.01203/0.8672, allocations: 10 MB / 1.135 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.8688, allocations: 0.9066 MB / 1.136 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/0.8696, allocations: 0.5463 MB / 1.136 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002392/0.872, allocations: 3.084 MB / 1.139 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.8721, allocations: 47.52 kB / 1.139 GB, free: 4 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=121): time 3.246e-06/0.8721, allocations: 0 / 1.139 GB, free: 4 kB / 0.8887 GB Notification: Performance of matching and sorting (n=121): time 0.005973/0.8781, allocations: 2.248 MB / 1.142 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.8782, allocations: 64.41 kB / 1.142 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.8813, allocations: 2.154 MB / 1.144 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.8814, allocations: 49.7 kB / 1.144 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000968/0.8824, allocations: 1.177 MB / 1.145 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.8828, allocations: 433.7 kB / 1.145 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.8829, allocations: 32 kB / 1.145 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8831, allocations: 357.9 kB / 1.146 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008317/0.8839, allocations: 471.8 kB / 1.146 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.885, allocations: 0.8113 MB / 1.147 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.8861, allocations: 0.5959 MB / 1.148 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.8861, allocations: 3.953 kB / 1.148 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004112/0.8902, allocations: 1.9 MB / 1.149 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002623/0.8905, allocations: 371.9 kB / 1.15 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.8905, allocations: 19.98 kB / 1.15 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/0.8923, allocations: 372.5 kB / 1.15 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009599/0.8933, allocations: 299.5 kB / 1.15 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008949/0.8942, allocations: 0.8215 MB / 1.151 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.8961, allocations: 242.3 kB / 1.151 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.8963, allocations: 75.97 kB / 1.152 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.8963, allocations: 4 kB / 1.152 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00356/0.8999, allocations: 1.64 MB / 1.153 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.9, allocations: 15.98 kB / 1.153 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.9017, allocations: 393 kB / 1.154 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/0.9026, allocations: 295.5 kB / 1.154 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008141/0.9035, allocations: 0.8254 MB / 1.155 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.9053, allocations: 218.6 kB / 1.155 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.9055, allocations: 71.97 kB / 1.155 GB, free: 15.7 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.9065, allocations: 0.5709 MB / 1.155 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/0.907, allocations: 256.8 kB / 1.156 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004754/0.9117, allocations: 2.382 MB / 1.158 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/0.9118, allocations: 23.98 kB / 1.158 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.9118, allocations: 3.953 kB / 1.158 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003243/0.915, allocations: 1.783 MB / 1.16 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008968/0.924, allocations: 5.167 MB / 1.165 GB, free: 5.242 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-05/0.9241, allocations: 12 kB / 1.165 GB, free: 5.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008555/0.9249, allocations: 232.5 kB / 1.165 GB, free: 5.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.9263, allocations: 314.9 kB / 1.165 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.9264, allocations: 55.97 kB / 1.165 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00077/0.9272, allocations: 0.8149 MB / 1.166 GB, free: 3.801 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/0.9272, allocations: 7.938 kB / 1.166 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/0.9324, allocations: 3.015 MB / 1.169 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.9337, allocations: 0.6218 MB / 1.17 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/0.934, allocations: 40.05 kB / 1.17 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.9354, allocations: 135.3 kB / 1.17 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.9356, allocations: 133 kB / 1.17 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.9357, allocations: 75.95 kB / 1.17 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002418/0.9381, allocations: 1.578 MB / 1.172 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.9382, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003476/0.9416, allocations: 1.494 MB / 1.173 GB, free: 12.58 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.006107/0.9478, allocations: 4.27 MB / 1.177 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00384/0.9516, allocations: 2.353 MB / 1.18 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.9516, allocations: 8.062 kB / 1.18 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.9531, allocations: 0.9837 MB / 1.181 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00574/0.9589, allocations: 1.403 MB / 1.182 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03028/0.9892, allocations: 17.06 MB / 1.199 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.9905, allocations: 1.682 MB / 1.2 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00254/0.993, allocations: 0.6737 MB / 1.201 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/0.9944, allocations: 1.128 MB / 1.202 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of SimCode: time 2.234e-06/0.9944, allocations: 0 / 1.202 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5573/1.552, allocations: 86.65 MB / 1.287 GB, free: 250.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/1.552, allocations: 268.7 kB / 1.287 GB, free: 250.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.749/5.301, allocations: 1.375 kB / 1.287 GB, free: 250.6 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/linux/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)