Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_BuriedPipes_Examples_SingleBuriedPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_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.0008579/0.0008579, 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.005185/0.005185, 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.17/1.17, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.316/2.316, allocations: 462.7 MB / 0.7364 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 8.469 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2166, allocations: 159.6 MB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.08837/0.305, allocations: 115.8 MB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02934/0.3344, allocations: 27.68 MB / 1.199 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.3374, allocations: 111.2 kB / 1.199 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.3403, allocations: 1.247 MB / 1.2 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008728/0.349, allocations: 4.261 MB / 1.204 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005508/0.3546, allocations: 2.801 MB / 1.207 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009266/0.3638, allocations: 11 MB / 1.218 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.366, allocations: 2.181 MB / 1.22 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.3695, allocations: 2.792 MB / 1.223 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.3715, allocations: 2.271 MB / 1.225 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.3718, allocations: 120 kB / 1.225 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007492/0.3793, allocations: 3.209 MB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004297/0.3797, allocations: 0.5521 MB / 1.229 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.3809, allocations: 1.533 MB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01626/0.3971, allocations: 18.19 MB / 1.248 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3971, allocations: 4 kB / 1.248 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3971, allocations: 0 / 1.248 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.012e-05/0.3972, allocations: 0 / 1.248 GB, free: 2.371 MB / 0.9981 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.378/0.7751, allocations: 3.001 MB / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.7752, allocations: 14.31 kB / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005995/0.7758, allocations: 245.7 kB / 1.251 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.7769, allocations: 352.6 kB / 1.252 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004409/0.7813, allocations: 2.608 MB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.7814, allocations: 131.8 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.7817, allocations: 175.7 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.7845, allocations: 1.894 MB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/0.7845, allocations: 10.16 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.7847, allocations: 70.36 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/0.7847, allocations: 56.25 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.7867, allocations: 1.374 MB / 1.258 GB, free: 183.3 MB / 0.9981 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.00893/0.7956, allocations: 10 MB / 1.267 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.7968, allocations: 0.9134 MB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/0.7974, allocations: 0.5379 MB / 1.269 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.7988, allocations: 3.083 MB / 1.272 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.7989, allocations: 54 kB / 1.272 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=120): time 2.685e-06/0.7989, allocations: 0 / 1.272 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=120): time 0.004725/0.8036, allocations: 2.146 MB / 1.274 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.8036, allocations: 63.44 kB / 1.274 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002904/0.8066, allocations: 2.22 MB / 1.276 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/0.8067, allocations: 48.92 kB / 1.276 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/0.8074, allocations: 1.191 MB / 1.277 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.8077, allocations: 432.5 kB / 1.278 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.8078, allocations: 123.1 kB / 1.278 GB, free: 172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.06e-05/0.8079, allocations: 303 kB / 1.278 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008218/0.8087, allocations: 477.7 kB / 1.279 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.8098, allocations: 0.8293 MB / 1.28 GB, free: 171 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.8115, allocations: 1.359 MB / 1.281 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.8116, allocations: 3.641 kB / 1.281 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003518/0.8151, allocations: 1.873 MB / 1.283 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.8152, allocations: 370.8 kB / 1.283 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/0.8153, allocations: 18.42 kB / 1.283 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.8166, allocations: 301.2 kB / 1.283 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008524/0.8174, allocations: 294 kB / 1.284 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006625/0.8181, allocations: 1.309 MB / 1.285 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.8198, allocations: 229.2 kB / 1.285 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.8199, allocations: 81.45 kB / 1.285 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.782e-06/0.82, allocations: 4.469 kB / 1.285 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002857/0.8228, allocations: 1.611 MB / 1.287 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/0.8229, allocations: 22.94 kB / 1.287 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.824, allocations: 308.6 kB / 1.287 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.8249, allocations: 288.2 kB / 1.287 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006192/0.8255, allocations: 1.302 MB / 1.289 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.827, allocations: 206.6 kB / 1.289 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.8271, allocations: 75.69 kB / 1.289 GB, free: 165.6 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 (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.0008316/0.828, allocations: 0.5736 MB / 1.289 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.8282, allocations: 257.8 kB / 1.29 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/0.8321, allocations: 2.351 MB / 1.292 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/0.8322, allocations: 26.16 kB / 1.292 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8322, allocations: 1 kB / 1.292 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002471/0.8346, allocations: 1.743 MB / 1.294 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006832/0.8415, allocations: 5.123 MB / 1.299 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.8415, allocations: 8.938 kB / 1.299 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.8423, allocations: 232.7 kB / 1.299 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008674/0.8432, allocations: 244.2 kB / 1.299 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/0.8432, allocations: 46.83 kB / 1.299 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005769/0.8438, allocations: 1.302 MB / 1.301 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.8438, allocations: 10.53 kB / 1.301 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.8475, allocations: 2.948 MB / 1.303 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007777/0.8483, allocations: 0.6339 MB / 1.304 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.8486, allocations: 35.78 kB / 1.304 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.8499, allocations: 132.2 kB / 1.304 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.85, allocations: 143.9 kB / 1.304 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.835e-05/0.8501, allocations: 75.23 kB / 1.304 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001769/0.8519, allocations: 1.618 MB / 1.306 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8519, allocations: 0 / 1.306 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002861/0.8548, allocations: 1.523 MB / 1.307 GB, free: 155.5 MB / 0.9981 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.00791/0.8627, allocations: 6.983 MB / 1.314 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.8656, allocations: 2.376 MB / 1.317 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8656, allocations: 4 kB / 1.317 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.8667, allocations: 0.9849 MB / 1.318 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007265/0.8739, allocations: 1.4 MB / 1.319 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02692/0.9009, allocations: 22 MB / 1.34 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/0.9017, allocations: 1.706 MB / 1.342 GB, free: 121 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002105/0.9038, allocations: 0.6852 MB / 1.343 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009944/0.9048, allocations: 1.155 MB / 1.344 GB, free: 119.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.82e-07/0.9048, allocations: 0 / 1.344 GB, free: 119.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.82/5.725, allocations: 85.61 MB / 1.427 GB, free: 34.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/5.725, allocations: 313 kB / 1.428 GB, free: 34.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.487/10.21, allocations: 0 / 1.428 GB, free: 34.28 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_BuriedPipes_Examples_SingleBuriedPipe_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_BuriedPipes_Examples_SingleBuriedPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)