Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.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.TwoPipesConduit,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit",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.001014/0.001014, allocations: 91.69 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.001421/0.001421, 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.419/1.419, allocations: 223.2 MB / 240 MB, free: 5.441 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.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003242, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6428/0.6432, allocations: 146.8 MB / 0.9811 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.1007/0.744, allocations: 109.5 MB / 1.088 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03595/0.78, allocations: 26.3 MB / 1.114 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004935/0.7849, allocations: 111.2 kB / 1.114 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00427/0.7892, allocations: 1.071 MB / 1.115 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.8011, allocations: 3.652 MB / 1.119 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007499/0.8086, allocations: 2.253 MB / 1.121 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01262/0.8212, allocations: 9.58 MB / 1.13 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003857/0.8251, allocations: 1.941 MB / 1.132 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006684/0.8318, allocations: 2.711 MB / 1.135 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004429/0.8363, allocations: 2.166 MB / 1.137 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007295/0.8371, allocations: 124 kB / 1.137 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008843/0.8459, allocations: 2.304 MB / 1.139 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.8472, allocations: 0.5327 MB / 1.14 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.8489, allocations: 0.6407 MB / 1.14 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006445/0.8553, allocations: 4.06 MB / 1.144 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.8554, allocations: 0 / 1.144 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8554, allocations: 4 kB / 1.144 GB, free: 15 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001023/0.8555, allocations: 0 / 1.144 GB, free: 15 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: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.00618/0.8617, allocations: 3.088 MB / 1.147 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.8617, allocations: 8.031 kB / 1.147 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004454/0.8622, allocations: 253.2 kB / 1.147 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.8631, allocations: 352 kB / 1.148 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/0.8678, allocations: 2.508 MB / 1.15 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.781e-05/0.8679, allocations: 139.5 kB / 1.15 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/0.8682, allocations: 183.9 kB / 1.151 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.8714, allocations: 1.916 MB / 1.152 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/0.8715, allocations: 7.938 kB / 1.152 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.8716, allocations: 76 kB / 1.153 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.516e-05/0.8717, allocations: 47.98 kB / 1.153 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.8742, allocations: 1.418 MB / 1.154 GB, free: 4.809 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.01294/0.8871, allocations: 9.881 MB / 1.164 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.8889, allocations: 1.021 MB / 1.165 GB, free: 9.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/0.8898, allocations: 0.5575 MB / 1.165 GB, free: 8.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002218/0.892, allocations: 3.092 MB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.8921, allocations: 47.56 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of pre-optimization done (n=127): time 3.497e-06/0.8921, allocations: 0 / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=127): time 0.003532/0.8956, allocations: 1.788 MB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.8957, allocations: 68.36 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/0.8987, allocations: 2.162 MB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.8989, allocations: 49.7 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009362/0.8998, allocations: 1.193 MB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.9003, allocations: 461.4 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.9004, allocations: 32 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9005, allocations: 357.9 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/0.9014, allocations: 499.7 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.9024, allocations: 0.8687 MB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.9035, allocations: 0.6271 MB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.9035, allocations: 4 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003215/0.9067, allocations: 1.744 MB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002528/0.907, allocations: 376.1 kB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.9071, allocations: 15.98 kB / 1.178 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003303/0.9074, allocations: 60.81 kB / 1.178 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.9085, allocations: 351.4 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.9099, allocations: 1.448 MB / 1.18 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.9119, allocations: 250.2 kB / 1.18 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.9121, allocations: 79.97 kB / 1.18 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.9121, allocations: 4 kB / 1.18 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002533/0.9146, allocations: 1.496 MB / 1.182 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.9147, allocations: 15.94 kB / 1.182 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.9149, allocations: 68.77 kB / 1.182 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.916, allocations: 343.5 kB / 1.182 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.9172, allocations: 1.432 MB / 1.184 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.9192, allocations: 234.6 kB / 1.184 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.9193, allocations: 75.97 kB / 1.184 GB, free: 4.148 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 (192): * Single equations (assignments): 186 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001128/0.9205, allocations: 0.5812 MB / 1.184 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.9209, allocations: 256.8 kB / 1.185 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/0.9247, allocations: 2.206 MB / 1.187 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/0.9248, allocations: 23.98 kB / 1.187 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.9248, allocations: 4 kB / 1.187 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002286/0.9271, allocations: 1.599 MB / 1.188 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008456/0.9355, allocations: 5.021 MB / 1.193 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/0.9356, allocations: 16.03 kB / 1.193 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.9367, allocations: 267.7 kB / 1.194 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.9369, allocations: 60.75 kB / 1.194 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.937, allocations: 51.97 kB / 1.194 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.9383, allocations: 1.433 MB / 1.195 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.9383, allocations: 16.09 kB / 1.195 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004318/0.9426, allocations: 2.824 MB / 1.198 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/0.944, allocations: 0.6295 MB / 1.198 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/0.9446, allocations: 47.95 kB / 1.199 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.9464, allocations: 147.3 kB / 1.199 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.9467, allocations: 137 kB / 1.199 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/0.9469, allocations: 75.95 kB / 1.199 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003071/0.9499, allocations: 1.573 MB / 1.2 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9499, allocations: 0 / 1.2 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.005008/0.955, allocations: 1.564 MB / 1.202 GB, free: 1.117 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 14 (pipSup.del.x,pipSup.timDel.x,pipSup.vol_b.dynBal.U,pipSup.vol_a.dynBal.U,senTemInlSup.T,senTemOutSup.T,pipRet.del.x,pipRet.timDel.x,pipRet.vol_b.dynBal.U,pipRet.vol_a.dynBal.U,senTemOutRet.T,senTemInlRet.T,conAir.T,con.T[1]) * 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 (161): * Single equations (assignments): 132 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007231/0.9622, allocations: 4.227 MB / 1.206 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004691/0.9669, allocations: 2.654 MB / 1.209 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.967, allocations: 1.375 kB / 1.209 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.9687, allocations: 1.11 MB / 1.21 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007483/0.9762, allocations: 1.42 MB / 1.211 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0376/1.014, allocations: 17.49 MB / 1.228 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/1.016, allocations: 1.718 MB / 1.23 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003432/1.019, allocations: 0.701 MB / 1.231 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/1.021, allocations: 1.175 MB / 1.232 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of SimCode: time 1.512e-06/1.021, allocations: 0 / 1.232 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6056/1.627, allocations: 86.87 MB / 1.317 GB, free: 202.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/1.627, allocations: 274 kB / 1.317 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.029/5.656, allocations: 0 / 1.317 GB, free: 201.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit.fmu > Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1) Environment - environmentSimulation: