Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.TwoBuriedPipes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_latest_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.001024/0.001024, allocations: 86.95 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.001273/0.001273, 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.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.486/2.486, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 11.94 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.655/0.6554, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.09907/0.7545, allocations: 109.1 MB / 1.088 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03421/0.7888, allocations: 26.06 MB / 1.113 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004426/0.7932, allocations: 111.2 kB / 1.113 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.7972, allocations: 1.048 MB / 1.114 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.8078, allocations: 3.593 MB / 1.118 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006967/0.8148, allocations: 2.209 MB / 1.12 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01169/0.8265, allocations: 9.304 MB / 1.129 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004119/0.8306, allocations: 1.89 MB / 1.131 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006307/0.837, allocations: 2.644 MB / 1.133 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00406/0.8411, allocations: 2.088 MB / 1.135 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000905/0.842, allocations: 112 kB / 1.136 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008944/0.851, allocations: 2.3 MB / 1.138 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.8522, allocations: 0.5094 MB / 1.138 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.8539, allocations: 0.6173 MB / 1.139 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006226/0.8601, allocations: 3.982 MB / 1.143 GB, free: 240 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8601, allocations: 4 kB / 1.143 GB, free: 236 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8602, allocations: 0 / 1.143 GB, free: 236 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001434/0.8603, allocations: 0 / 1.143 GB, free: 236 kB / 0.8887 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.006645/0.867, allocations: 3.026 MB / 1.146 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.867, allocations: 8.031 kB / 1.146 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005998/0.8676, allocations: 245 kB / 1.146 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.8687, allocations: 344.1 kB / 1.146 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/0.8733, allocations: 2.5 MB / 1.149 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.99e-05/0.8734, allocations: 135.3 kB / 1.149 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.8737, allocations: 172 kB / 1.149 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/0.8768, allocations: 1.895 MB / 1.151 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.8769, allocations: 4 kB / 1.151 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.877, allocations: 79.92 kB / 1.151 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-05/0.8771, allocations: 47.98 kB / 1.151 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/0.8795, allocations: 1.391 MB / 1.152 GB, free: 6.184 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.01197/0.8915, allocations: 10.01 MB / 1.162 GB, free: 11.42 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.893, allocations: 0.9028 MB / 1.163 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/0.8939, allocations: 0.5477 MB / 1.164 GB, free: 9.973 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/0.8962, allocations: 3.091 MB / 1.167 GB, free: 6.195 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.8963, allocations: 55.5 kB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of pre-optimization done (n=121): time 3.045e-06/0.8963, allocations: 0 / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=121): time 0.006003/0.9023, allocations: 2.252 MB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.9024, allocations: 60.41 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/0.9062, allocations: 2.157 MB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.9063, allocations: 49.7 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.9074, allocations: 1.169 MB / 1.172 GB, free: 376 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/0.9079, allocations: 433.8 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.908, allocations: 28 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.9081, allocations: 365.7 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000861/0.909, allocations: 467.8 kB / 1.173 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.9101, allocations: 0.8229 MB / 1.174 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.9112, allocations: 0.592 MB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/0.9112, allocations: 0 / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004343/0.9155, allocations: 1.889 MB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002894/0.9158, allocations: 380.4 kB / 1.177 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.805e-05/0.9159, allocations: 12 kB / 1.177 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/0.9177, allocations: 392.4 kB / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/0.9187, allocations: 299.5 kB / 1.178 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008894/0.9196, allocations: 0.8177 MB / 1.179 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.9217, allocations: 235.3 kB / 1.179 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.9219, allocations: 71.97 kB / 1.179 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.9219, allocations: 4 kB / 1.179 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003821/0.9257, allocations: 1.644 MB / 1.18 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.885e-05/0.9258, allocations: 19.94 kB / 1.18 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.9275, allocations: 380.5 kB / 1.181 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000964/0.9285, allocations: 303.5 kB / 1.181 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007988/0.9293, allocations: 0.8216 MB / 1.182 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.9312, allocations: 214.6 kB / 1.182 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.9314, allocations: 75.97 kB / 1.182 GB, free: 5.82 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 (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.001142/0.9326, allocations: 0.5787 MB / 1.183 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/0.9332, allocations: 248.9 kB / 1.183 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/0.9385, allocations: 2.372 MB / 1.185 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-05/0.9386, allocations: 31.97 kB / 1.185 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.9386, allocations: 0 / 1.185 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003436/0.9421, allocations: 1.786 MB / 1.187 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.9547, allocations: 5.168 MB / 1.192 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/0.9548, allocations: 15.98 kB / 1.192 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.9558, allocations: 227.7 kB / 1.192 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.9573, allocations: 313.7 kB / 1.193 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.9574, allocations: 51.97 kB / 1.193 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008337/0.9583, allocations: 0.8186 MB / 1.194 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/0.9583, allocations: 8 kB / 1.194 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005918/0.9642, allocations: 3.015 MB / 1.196 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/0.9659, allocations: 0.6257 MB / 1.197 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000674/0.9666, allocations: 36 kB / 1.197 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/0.9685, allocations: 151.8 kB / 1.197 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.9688, allocations: 129 kB / 1.197 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/0.9689, allocations: 83.91 kB / 1.197 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00317/0.9721, allocations: 1.567 MB / 1.199 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9721, allocations: 0 / 1.199 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00479/0.9769, allocations: 1.494 MB / 1.2 GB, free: 2.699 MB / 0.9512 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.007476/0.9844, allocations: 4.271 MB / 1.205 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004409/0.9889, allocations: 2.344 MB / 1.207 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.9889, allocations: 4 kB / 1.207 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.9906, allocations: 0.9965 MB / 1.208 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007108/0.9977, allocations: 1.395 MB / 1.209 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0386/1.036, allocations: 17.06 MB / 1.226 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/1.038, allocations: 1.678 MB / 1.228 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003183/1.041, allocations: 0.68 MB / 1.228 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/1.043, allocations: 1.124 MB / 1.229 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of SimCode: time 1.182e-06/1.043, allocations: 0 / 1.229 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5915/1.635, allocations: 86.66 MB / 1.314 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.635, allocations: 270.8 kB / 1.314 GB, free: 204.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.889/5.524, allocations: 3.938 kB / 1.314 GB, free: 204.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1) Environment - environmentSimulation: