Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SingleBuriedPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,fileNamePrefix="Buildings_9_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.0008074/0.0008074, 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.005353/0.005353, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.126/2.126, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002712, allocations: 15.94 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5297, allocations: 142.4 MB / 0.9552 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.09099/0.6207, allocations: 115.8 MB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03081/0.6516, allocations: 27.68 MB / 1.095 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003423/0.655, allocations: 107.3 kB / 1.095 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00315/0.6582, allocations: 1.239 MB / 1.097 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00937/0.6676, allocations: 4.256 MB / 1.101 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005943/0.6736, allocations: 2.813 MB / 1.104 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009801/0.6834, allocations: 11.02 MB / 1.114 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.6857, allocations: 2.173 MB / 1.116 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.6895, allocations: 2.8 MB / 1.119 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.6917, allocations: 2.259 MB / 1.121 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.6919, allocations: 120 kB / 1.121 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00749/0.6994, allocations: 3.217 MB / 1.125 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.6999, allocations: 0.5598 MB / 1.125 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.7011, allocations: 1.521 MB / 1.127 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01735/0.7185, allocations: 18.19 MB / 1.144 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.7185, allocations: 0 / 1.144 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7185, allocations: 4 kB / 1.144 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.077e-05/0.7185, allocations: 4 kB / 1.144 GB, free: 12.93 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.004636/0.7232, allocations: 3.005 MB / 1.147 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.7232, allocations: 12.03 kB / 1.147 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002635/0.7235, allocations: 245 kB / 1.148 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006132/0.7241, allocations: 348 kB / 1.148 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.7276, allocations: 2.608 MB / 1.15 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.379e-05/0.7277, allocations: 131.4 kB / 1.151 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.728, allocations: 179.9 kB / 1.151 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.7306, allocations: 1.895 MB / 1.153 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.7307, allocations: 7.938 kB / 1.153 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.7308, allocations: 71.98 kB / 1.153 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.7309, allocations: 48 kB / 1.153 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.733, allocations: 1.383 MB / 1.154 GB, free: 2.789 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.009492/0.7425, allocations: 9.99 MB / 1.164 GB, free: 8.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.7438, allocations: 0.9145 MB / 1.165 GB, free: 7.125 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.7446, allocations: 0.5423 MB / 1.165 GB, free: 6.582 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/0.7465, allocations: 3.084 MB / 1.168 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.7465, allocations: 59.48 kB / 1.168 GB, free: 2.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=120): time 2.635e-06/0.7465, allocations: 0 / 1.168 GB, free: 2.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=120): time 0.004446/0.751, allocations: 2.141 MB / 1.17 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.751, allocations: 64.41 kB / 1.17 GB, free: 492 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.7536, allocations: 2.216 MB / 1.173 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.325e-05/0.7537, allocations: 49.7 kB / 1.173 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008148/0.7546, allocations: 1.189 MB / 1.174 GB, free: 13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.7549, allocations: 433.7 kB / 1.174 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.755, allocations: 121.6 kB / 1.174 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.7551, allocations: 305.1 kB / 1.175 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.7558, allocations: 479.8 kB / 1.175 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009362/0.7568, allocations: 0.8288 MB / 1.176 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.7585, allocations: 1.359 MB / 1.177 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.7585, allocations: 4 kB / 1.177 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003225/0.7618, allocations: 1.87 MB / 1.179 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.7619, allocations: 375.7 kB / 1.179 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.762, allocations: 12 kB / 1.179 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.7633, allocations: 305.3 kB / 1.18 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00084/0.7641, allocations: 287.6 kB / 1.18 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008232/0.765, allocations: 1.312 MB / 1.181 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.7664, allocations: 233.9 kB / 1.182 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.7665, allocations: 75.97 kB / 1.182 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.7665, allocations: 5.719 kB / 1.182 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002931/0.7695, allocations: 1.606 MB / 1.183 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.7695, allocations: 23.92 kB / 1.183 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.7707, allocations: 321.9 kB / 1.184 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/0.7716, allocations: 287.5 kB / 1.184 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007786/0.7724, allocations: 1.3 MB / 1.185 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.7736, allocations: 214.7 kB / 1.185 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.7738, allocations: 75.97 kB / 1.185 GB, free: 0.6953 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0007094/0.7745, allocations: 0.5797 MB / 1.186 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.7748, allocations: 253.1 kB / 1.186 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003961/0.7787, allocations: 2.335 MB / 1.188 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.7788, allocations: 19.98 kB / 1.188 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7788, allocations: 0 / 1.188 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002696/0.7815, allocations: 1.736 MB / 1.19 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007604/0.7891, allocations: 5.122 MB / 1.195 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.7891, allocations: 15.98 kB / 1.195 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.7899, allocations: 223.6 kB / 1.195 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009164/0.7909, allocations: 242 kB / 1.196 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.313e-05/0.791, allocations: 47.97 kB / 1.196 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007663/0.7917, allocations: 1.296 MB / 1.197 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.7917, allocations: 11.94 kB / 1.197 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/0.7959, allocations: 2.944 MB / 1.2 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008351/0.7968, allocations: 0.6334 MB / 1.2 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/0.7971, allocations: 32 kB / 1.2 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.7985, allocations: 149.8 kB / 1.201 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.7987, allocations: 136.9 kB / 1.201 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.7988, allocations: 75.95 kB / 1.201 GB, free: 408 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002173/0.801, allocations: 1.624 MB / 1.202 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.3e-07/0.801, allocations: 4 kB / 1.202 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003092/0.8041, allocations: 1.513 MB / 1.204 GB, free: 13.25 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009471/0.8135, allocations: 6.977 MB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003264/0.8168, allocations: 2.388 MB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8168, allocations: 0 / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.8181, allocations: 0.9867 MB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007805/0.8259, allocations: 1.409 MB / 1.215 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03271/0.8587, allocations: 21.94 MB / 1.237 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.8598, allocations: 1.706 MB / 1.238 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002005/0.8618, allocations: 0.6768 MB / 1.239 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/0.863, allocations: 1.147 MB / 1.24 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.8631, allocations: 0 / 1.24 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.265/5.128, allocations: 85.43 MB / 1.324 GB, free: 247.6 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/5.128, allocations: 298.1 kB / 1.324 GB, free: 247.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.955/10.08, allocations: 0 / 1.324 GB, free: 247.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.fmu > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)