Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TwoPipesConduit,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit,fileNamePrefix="Buildings_9_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.0008595/0.0008594, allocations: 91.84 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.005465/0.005465, allocations: 170 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.226/1.226, 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 9.1.2-maint.9.1.x/package.mo): time 2.122/2.122, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002847, allocations: 8.281 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.516/0.5163, allocations: 142.4 MB / 0.9552 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.1007/0.6171, allocations: 116 MB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03372/0.6508, allocations: 27.85 MB / 1.096 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/0.6545, allocations: 107.3 kB / 1.096 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.6577, allocations: 1.235 MB / 1.097 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.6678, allocations: 4.269 MB / 1.101 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006716/0.6745, allocations: 2.867 MB / 1.104 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01209/0.6866, allocations: 11.17 MB / 1.115 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/0.6898, allocations: 2.204 MB / 1.117 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005314/0.6952, allocations: 2.827 MB / 1.12 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00307/0.6983, allocations: 2.302 MB / 1.122 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.6986, allocations: 116 kB / 1.122 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008463/0.7071, allocations: 3.217 MB / 1.125 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.7085, allocations: 0.5715 MB / 1.126 GB, free: 112 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.7108, allocations: 1.545 MB / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02001/0.7308, allocations: 18.23 MB / 1.145 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.7309, allocations: 0 / 1.145 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7309, allocations: 0 / 1.145 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.971e-05/0.7309, allocations: 0 / 1.145 GB, free: 12.26 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.005124/0.736, allocations: 3.049 MB / 1.148 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.7361, allocations: 12.03 kB / 1.148 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002869/0.7364, allocations: 253.2 kB / 1.148 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006638/0.737, allocations: 352 kB / 1.149 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/0.7408, allocations: 2.596 MB / 1.151 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.3e-05/0.7409, allocations: 135.5 kB / 1.151 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.7411, allocations: 195.8 kB / 1.151 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.744, allocations: 1.928 MB / 1.153 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.7441, allocations: 11.84 kB / 1.153 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.7442, allocations: 75.98 kB / 1.153 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.7443, allocations: 44 kB / 1.153 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.7466, allocations: 1.442 MB / 1.155 GB, free: 1.961 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.01072/0.7574, allocations: 9.877 MB / 1.165 GB, free: 7.398 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.7591, allocations: 1.013 MB / 1.166 GB, free: 6.375 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/0.7599, allocations: 0.5769 MB / 1.166 GB, free: 5.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002103/0.762, allocations: 3.088 MB / 1.169 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.762, allocations: 51.56 kB / 1.169 GB, free: 1.973 MB / 0.92 GB Notification: Performance of pre-optimization done (n=127): time 3.116e-06/0.7621, allocations: 0 / 1.169 GB, free: 1.973 MB / 0.92 GB Notification: Performance of matching and sorting (n=127): time 0.003188/0.7653, allocations: 1.799 MB / 1.171 GB, free: 144 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.7653, allocations: 64.41 kB / 1.171 GB, free: 68 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.7681, allocations: 2.181 MB / 1.173 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.7683, allocations: 49.7 kB / 1.173 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008602/0.7691, allocations: 1.193 MB / 1.174 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003841/0.7695, allocations: 461.3 kB / 1.175 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.7697, allocations: 133.6 kB / 1.175 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.7698, allocations: 305.1 kB / 1.175 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008296/0.7706, allocations: 0.4919 MB / 1.176 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.7717, allocations: 0.8763 MB / 1.177 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.7736, allocations: 1.407 MB / 1.178 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.7736, allocations: 7.938 kB / 1.178 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002937/0.7766, allocations: 1.764 MB / 1.18 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.7768, allocations: 367.6 kB / 1.18 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.7768, allocations: 15.98 kB / 1.18 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.7771, allocations: 60.83 kB / 1.18 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.7783, allocations: 343.4 kB / 1.18 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.7795, allocations: 1.444 MB / 1.182 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.7813, allocations: 254.3 kB / 1.182 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.7815, allocations: 79.97 kB / 1.182 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.7815, allocations: 5.25 kB / 1.182 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00245/0.784, allocations: 1.507 MB / 1.184 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.784, allocations: 12 kB / 1.184 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.7842, allocations: 60.81 kB / 1.184 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.7853, allocations: 348 kB / 1.184 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.7864, allocations: 1.448 MB / 1.185 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.7882, allocations: 222.5 kB / 1.186 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.7883, allocations: 79.97 kB / 1.186 GB, free: 288 kB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009545/0.7893, allocations: 0.5826 MB / 1.186 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.7896, allocations: 260.8 kB / 1.187 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.7932, allocations: 2.204 MB / 1.189 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/0.7932, allocations: 27.98 kB / 1.189 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7933, allocations: 0 / 1.189 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002222/0.7955, allocations: 1.615 MB / 1.19 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007667/0.8032, allocations: 5.036 MB / 1.195 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/0.8032, allocations: 8 kB / 1.195 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.8042, allocations: 271.6 kB / 1.195 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.8045, allocations: 61.33 kB / 1.196 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/0.8046, allocations: 51.97 kB / 1.196 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.8057, allocations: 1.432 MB / 1.197 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.8058, allocations: 11.94 kB / 1.197 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003922/0.8097, allocations: 2.848 MB / 1.2 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.8108, allocations: 0.6295 MB / 1.2 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/0.8111, allocations: 43.92 kB / 1.2 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.8126, allocations: 135.6 kB / 1.201 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.8128, allocations: 148.9 kB / 1.201 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.8129, allocations: 75.95 kB / 1.201 GB, free: 336 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002255/0.8152, allocations: 1.588 MB / 1.202 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8152, allocations: 4 kB / 1.202 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003563/0.8188, allocations: 1.58 MB / 1.204 GB, free: 13.15 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0101/0.8289, allocations: 6.968 MB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004079/0.833, allocations: 2.67 MB / 1.213 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.833, allocations: 0.625 kB / 1.213 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.8345, allocations: 1.119 MB / 1.214 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008672/0.8432, allocations: 1.397 MB / 1.216 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/0.8768, allocations: 21.88 MB / 1.237 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.8781, allocations: 1.722 MB / 1.239 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002476/0.8805, allocations: 0.7103 MB / 1.239 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/0.882, allocations: 1.171 MB / 1.241 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.882, allocations: 0 / 1.241 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5256/1.408, allocations: 84.31 MB / 1.323 GB, free: 246.6 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/1.408, allocations: 274.9 kB / 1.323 GB, free: 246.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.156/5.563, allocations: 0 / 1.323 GB, free: 246.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit.fmu > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1)