Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_10_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.000897/0.0008967, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005216/0.005216, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.275/1.275, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 15.94 kB / 0.873 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5392, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.1079/0.6471, allocations: 115.5 MB / 1.136 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03467/0.6818, allocations: 27.62 MB / 1.163 GB, free: 308 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003855/0.6857, allocations: 111.2 kB / 1.163 GB, free: 196 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.6893, allocations: 1.224 MB / 1.164 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.6998, allocations: 4.207 MB / 1.168 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006833/0.7067, allocations: 2.798 MB / 1.171 GB, free: 7.953 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.7181, allocations: 10.84 MB / 1.182 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003536/0.7217, allocations: 2.149 MB / 1.184 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005666/0.7274, allocations: 2.773 MB / 1.186 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.7311, allocations: 2.212 MB / 1.189 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006106/0.7317, allocations: 112 kB / 1.189 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009207/0.7409, allocations: 3.209 MB / 1.192 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008851/0.7418, allocations: 0.5365 MB / 1.192 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002399/0.7442, allocations: 1.494 MB / 1.194 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0208/0.765, allocations: 18.11 MB / 1.212 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7651, allocations: 0 / 1.212 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7651, allocations: 4 kB / 1.212 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001153/0.7652, allocations: 0 / 1.212 GB, free: 14.3 MB / 0.9669 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.006212/0.7714, allocations: 2.993 MB / 1.214 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.7715, allocations: 8.031 kB / 1.214 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004527/0.7719, allocations: 245 kB / 1.215 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008891/0.7728, allocations: 340.1 kB / 1.215 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/0.7773, allocations: 2.592 MB / 1.218 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.7774, allocations: 127.4 kB / 1.218 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/0.7777, allocations: 191.9 kB / 1.218 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.7809, allocations: 1.903 MB / 1.22 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.7809, allocations: 3.906 kB / 1.22 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.7811, allocations: 83.92 kB / 1.22 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/0.7812, allocations: 44 kB / 1.22 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.7837, allocations: 1.403 MB / 1.221 GB, free: 4.164 MB / 0.9669 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.01168/0.7954, allocations: 10.01 MB / 1.231 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.7969, allocations: 0.9105 MB / 1.232 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/0.7978, allocations: 0.5465 MB / 1.232 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002219/0.8, allocations: 3.08 MB / 1.235 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.8001, allocations: 51.5 kB / 1.235 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=121): time 3.596e-06/0.8001, allocations: 0 / 1.235 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=121): time 0.00633/0.8064, allocations: 2.264 MB / 1.238 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.8065, allocations: 64.41 kB / 1.238 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/0.8101, allocations: 2.177 MB / 1.24 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.8102, allocations: 53.7 kB / 1.24 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009339/0.8111, allocations: 1.165 MB / 1.241 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/0.8116, allocations: 437.7 kB / 1.241 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.8117, allocations: 117.7 kB / 1.242 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.8118, allocations: 305.1 kB / 1.242 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008506/0.8127, allocations: 483.7 kB / 1.242 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.8138, allocations: 0.8307 MB / 1.243 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/0.8157, allocations: 1.355 MB / 1.244 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.8157, allocations: 4.094 kB / 1.244 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004225/0.82, allocations: 1.92 MB / 1.246 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.8202, allocations: 363.7 kB / 1.247 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.8202, allocations: 20 kB / 1.247 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/0.8221, allocations: 380.4 kB / 1.247 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009453/0.8231, allocations: 299.5 kB / 1.247 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007735/0.8239, allocations: 0.8216 MB / 1.248 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.8257, allocations: 238.2 kB / 1.248 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.8259, allocations: 75.97 kB / 1.248 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.8259, allocations: 4 kB / 1.248 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003646/0.8295, allocations: 1.655 MB / 1.25 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/0.8296, allocations: 12 kB / 1.25 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.8314, allocations: 388.9 kB / 1.25 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009198/0.8323, allocations: 299.5 kB / 1.251 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007193/0.833, allocations: 0.8138 MB / 1.252 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.8348, allocations: 218.6 kB / 1.252 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.8349, allocations: 71.97 kB / 1.252 GB, free: 2.793 MB / 0.9981 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0009455/0.8359, allocations: 0.5825 MB / 1.252 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/0.8363, allocations: 252.8 kB / 1.253 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4341/1.27, allocations: 2.376 MB / 1.255 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.411e-05/1.271, allocations: 24.72 kB / 1.255 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.271, allocations: 0.875 kB / 1.255 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003783/1.274, allocations: 1.802 MB / 1.257 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009885/1.284, allocations: 5.167 MB / 1.262 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/1.284, allocations: 16.5 kB / 1.262 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/1.285, allocations: 232.2 kB / 1.262 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/1.287, allocations: 313.6 kB / 1.262 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.287, allocations: 53.52 kB / 1.262 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007131/1.288, allocations: 0.8144 MB / 1.263 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/1.288, allocations: 11.69 kB / 1.263 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006054/1.294, allocations: 3.022 MB / 1.266 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/1.296, allocations: 0.6242 MB / 1.267 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000369/1.296, allocations: 38.95 kB / 1.267 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.298, allocations: 148.1 kB / 1.267 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/1.298, allocations: 136.4 kB / 1.267 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/1.298, allocations: 75.62 kB / 1.267 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00265/1.301, allocations: 1.592 MB / 1.269 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.301, allocations: 0 / 1.269 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004174/1.305, allocations: 1.51 MB / 1.27 GB, free: 215.5 MB / 0.9981 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01151/1.316, allocations: 7.019 MB / 1.277 GB, free: 213.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004044/1.32, allocations: 2.372 MB / 1.279 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.32, allocations: 3.938 kB / 1.279 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/1.322, allocations: 0.9946 MB / 1.28 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009083/1.331, allocations: 1.392 MB / 1.282 GB, free: 211.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03141/1.363, allocations: 21.48 MB / 1.303 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008754/1.363, allocations: 1.686 MB / 1.304 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002361/1.366, allocations: 0.6689 MB / 1.305 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.367, allocations: 1.12 MB / 1.306 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.367, allocations: 4 kB / 1.306 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.436/3.803, allocations: 84.09 MB / 1.388 GB, free: 108.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/3.803, allocations: 286 kB / 1.388 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.442/8.246, allocations: 0 / 1.388 GB, free: 108.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.fmu > Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)