Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.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 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.TwoPipesConduit,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_BuriedPipes_Examples_TwoPipesConduit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_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.001054/0.001054, 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.008075/0.008075, allocations: 171.7 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.319/1.319, 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 11.0.0-master/package.mo): time 2.619/2.619, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 9.781 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3054, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit): time 0.107/0.4124, allocations: 115.9 MB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04214/0.4546, allocations: 27.86 MB / 1.199 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005505/0.4602, allocations: 111.2 kB / 1.199 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004749/0.4649, allocations: 1.247 MB / 1.201 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01311/0.4781, allocations: 4.261 MB / 1.205 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008112/0.4862, allocations: 2.868 MB / 1.208 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01403/0.5002, allocations: 11.15 MB / 1.218 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004338/0.5046, allocations: 2.2 MB / 1.221 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006348/0.511, allocations: 2.835 MB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004571/0.5156, allocations: 2.302 MB / 1.226 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007471/0.5163, allocations: 116 kB / 1.226 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009965/0.5263, allocations: 3.221 MB / 1.229 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.5273, allocations: 0.5638 MB / 1.229 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00309/0.5304, allocations: 1.548 MB / 1.231 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.024/0.5545, allocations: 18.21 MB / 1.249 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5545, allocations: 0 / 1.249 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5545, allocations: 4 kB / 1.249 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001322/0.5547, allocations: 0 / 1.249 GB, free: 1.734 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: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.5017/1.056, allocations: 3.057 MB / 1.252 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.056, allocations: 14.38 kB / 1.252 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006163/1.057, allocations: 252.1 kB / 1.252 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/1.058, allocations: 353.5 kB / 1.252 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/1.063, allocations: 2.603 MB / 1.255 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/1.063, allocations: 135.6 kB / 1.255 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/1.063, allocations: 188.3 kB / 1.255 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/1.066, allocations: 1.933 MB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/1.066, allocations: 6.75 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/1.067, allocations: 72.16 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/1.067, allocations: 48.25 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/1.069, allocations: 1.436 MB / 1.259 GB, free: 183.6 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.01307/1.082, allocations: 9.876 MB / 1.268 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/1.084, allocations: 1.022 MB / 1.269 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008717/1.085, allocations: 0.5705 MB / 1.27 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/1.087, allocations: 3.082 MB / 1.273 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/1.087, allocations: 53.53 kB / 1.273 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=127): time 3.387e-06/1.087, allocations: 3.609 kB / 1.273 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127): time 0.004103/1.091, allocations: 1.796 MB / 1.275 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/1.091, allocations: 65.89 kB / 1.275 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/1.094, allocations: 2.187 MB / 1.277 GB, free: 174 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/1.094, allocations: 52.77 kB / 1.277 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/1.095, allocations: 1.189 MB / 1.278 GB, free: 173 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/1.096, allocations: 454.2 kB / 1.278 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/1.096, allocations: 132.3 kB / 1.278 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.527e-05/1.096, allocations: 302.4 kB / 1.279 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/1.097, allocations: 0.4972 MB / 1.279 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/1.098, allocations: 0.8714 MB / 1.28 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/1.1, allocations: 1.403 MB / 1.281 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/1.1, allocations: 3.406 kB / 1.281 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003164/1.103, allocations: 1.766 MB / 1.283 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/1.104, allocations: 369.2 kB / 1.284 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.642e-05/1.104, allocations: 14.33 kB / 1.284 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/1.104, allocations: 62.3 kB / 1.284 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.105, allocations: 346.2 kB / 1.284 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/1.106, allocations: 1.447 MB / 1.285 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.109, allocations: 249.3 kB / 1.286 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/1.109, allocations: 81.52 kB / 1.286 GB, free: 168 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.109, allocations: 6.062 kB / 1.286 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00269/1.111, allocations: 1.498 MB / 1.287 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.265e-05/1.111, allocations: 22.86 kB / 1.287 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/1.112, allocations: 62.97 kB / 1.287 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.113, allocations: 348.9 kB / 1.288 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/1.114, allocations: 1.442 MB / 1.289 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/1.116, allocations: 233.2 kB / 1.289 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/1.116, allocations: 77.44 kB / 1.289 GB, free: 165.9 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 (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.001134/1.117, allocations: 0.5749 MB / 1.29 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/1.118, allocations: 257.7 kB / 1.29 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/1.122, allocations: 2.212 MB / 1.292 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-05/1.122, allocations: 25.36 kB / 1.292 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.122, allocations: 0 / 1.292 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002366/1.125, allocations: 1.61 MB / 1.294 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.135, allocations: 5.038 MB / 1.299 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/1.135, allocations: 17.16 kB / 1.299 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.136, allocations: 268.7 kB / 1.299 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002775/1.136, allocations: 52.48 kB / 1.299 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.136, allocations: 55.72 kB / 1.299 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/1.138, allocations: 1.434 MB / 1.301 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/1.138, allocations: 11.94 kB / 1.301 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/1.142, allocations: 2.849 MB / 1.303 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.144, allocations: 0.6284 MB / 1.304 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007725/1.145, allocations: 46.64 kB / 1.304 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.147, allocations: 146 kB / 1.304 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/1.147, allocations: 135.5 kB / 1.304 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/1.147, allocations: 77.55 kB / 1.304 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002836/1.15, allocations: 1.592 MB / 1.306 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.72e-07/1.15, allocations: 0 / 1.306 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005073/1.155, allocations: 1.581 MB / 1.307 GB, free: 155.6 MB / 0.9981 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.009853/1.165, allocations: 6.984 MB / 1.314 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004146/1.169, allocations: 2.669 MB / 1.317 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.169, allocations: 4 kB / 1.317 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/1.17, allocations: 1.114 MB / 1.318 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0102/1.181, allocations: 1.412 MB / 1.319 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03669/1.217, allocations: 21.87 MB / 1.341 GB, free: 122.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/1.219, allocations: 1.718 MB / 1.342 GB, free: 120.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003129/1.222, allocations: 0.721 MB / 1.343 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/1.223, allocations: 1.175 MB / 1.344 GB, free: 119 MB / 0.9981 GB Notification: Performance of SimCode: time 2.094e-06/1.223, allocations: 0 / 1.344 GB, free: 119 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1151/1.339, allocations: 84.44 MB / 1.427 GB, free: 35.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.339, allocations: 292.6 kB / 1.427 GB, free: 35.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.26/5.599, allocations: 0 / 1.427 GB, free: 35.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_BuriedPipes_Examples_TwoPipesConduit_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_BuriedPipes_Examples_TwoPipesConduit.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1)