Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.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 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.TwoBuriedPipes,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_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.0008425/0.0008423, allocations: 96.78 kB / 15.36 MB, free: 0.7305 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.0009047/0.0009047, allocations: 172.8 kB / 16.27 MB, free: 6.656 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 14 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3126, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.1107/0.4233, allocations: 115.5 MB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03442/0.4578, allocations: 27.62 MB / 1.199 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/0.462, allocations: 107.3 kB / 1.199 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003854/0.4659, allocations: 1.228 MB / 1.2 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01127/0.4771, allocations: 4.207 MB / 1.204 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007212/0.4844, allocations: 2.8 MB / 1.207 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01335/0.4977, allocations: 10.84 MB / 1.217 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005047/0.5028, allocations: 2.149 MB / 1.219 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006027/0.5089, allocations: 2.749 MB / 1.222 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003666/0.5126, allocations: 2.22 MB / 1.224 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007153/0.5133, allocations: 112 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009027/0.5223, allocations: 3.217 MB / 1.227 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009298/0.5233, allocations: 0.5443 MB / 1.228 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00262/0.5259, allocations: 1.494 MB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02139/0.5473, allocations: 18.11 MB / 1.247 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5474, allocations: 0 / 1.247 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5474, allocations: 0 / 1.247 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001418/0.5475, allocations: 0 / 1.247 GB, free: 3.309 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.0064/0.5539, allocations: 2.989 MB / 1.25 GB, free: 260 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.554, allocations: 15.95 kB / 1.25 GB, free: 244 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.4807/1.035, allocations: 241.4 kB / 1.25 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/1.036, allocations: 340 kB / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/1.041, allocations: 2.585 MB / 1.253 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/1.041, allocations: 134.7 kB / 1.253 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/1.042, allocations: 180.8 kB / 1.253 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/1.045, allocations: 1.906 MB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/1.045, allocations: 3.938 kB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/1.045, allocations: 74.92 kB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/1.045, allocations: 53.03 kB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/1.047, allocations: 1.401 MB / 1.257 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.01144/1.059, allocations: 10 MB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/1.06, allocations: 0.9231 MB / 1.267 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/1.061, allocations: 0.5498 MB / 1.268 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/1.063, allocations: 3.083 MB / 1.271 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.063, allocations: 56.33 kB / 1.271 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=121): time 3.717e-06/1.063, allocations: 0.8438 kB / 1.271 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=121): time 0.006425/1.069, allocations: 2.264 MB / 1.273 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.069, allocations: 63.91 kB / 1.273 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/1.073, allocations: 2.174 MB / 1.275 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/1.073, allocations: 52.27 kB / 1.276 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000838/1.074, allocations: 1.179 MB / 1.277 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/1.074, allocations: 432.7 kB / 1.277 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.075, allocations: 120.9 kB / 1.277 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/1.075, allocations: 302.9 kB / 1.277 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009071/1.076, allocations: 480.6 kB / 1.278 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/1.077, allocations: 0.8244 MB / 1.279 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/1.079, allocations: 1.355 MB / 1.28 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.079, allocations: 2.25 kB / 1.28 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004317/1.083, allocations: 1.911 MB / 1.282 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/1.083, allocations: 372.5 kB / 1.282 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/1.083, allocations: 13.64 kB / 1.282 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/1.085, allocations: 380.9 kB / 1.283 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009304/1.086, allocations: 294.6 kB / 1.283 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006733/1.087, allocations: 0.8257 MB / 1.284 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.089, allocations: 236.6 kB / 1.284 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/1.089, allocations: 75.3 kB / 1.284 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.089, allocations: 4.906 kB / 1.284 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00355/1.093, allocations: 1.656 MB / 1.286 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/1.093, allocations: 15.31 kB / 1.286 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/1.094, allocations: 393 kB / 1.286 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/1.095, allocations: 292.7 kB / 1.286 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006591/1.096, allocations: 0.8271 MB / 1.287 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/1.098, allocations: 215.4 kB / 1.287 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/1.098, allocations: 78.5 kB / 1.287 GB, free: 167.4 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.001181/1.099, allocations: 0.572 MB / 1.288 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004135/1.1, allocations: 249.9 kB / 1.288 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/1.105, allocations: 2.392 MB / 1.291 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/1.105, allocations: 25.03 kB / 1.291 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.105, allocations: 0.9375 kB / 1.291 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003/1.108, allocations: 1.804 MB / 1.292 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009585/1.117, allocations: 5.165 MB / 1.297 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/1.117, allocations: 14.8 kB / 1.297 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000815/1.118, allocations: 232.7 kB / 1.298 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/1.12, allocations: 308.7 kB / 1.298 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.891e-05/1.12, allocations: 51.53 kB / 1.298 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005817/1.12, allocations: 0.8313 MB / 1.299 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.12, allocations: 9.375 kB / 1.299 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/1.125, allocations: 3.031 MB / 1.302 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.126, allocations: 0.6201 MB / 1.302 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/1.126, allocations: 35.78 kB / 1.302 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.128, allocations: 151.2 kB / 1.303 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/1.128, allocations: 132.3 kB / 1.303 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.128, allocations: 75.2 kB / 1.303 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001932/1.13, allocations: 1.596 MB / 1.304 GB, free: 158 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.13, allocations: 0 / 1.304 GB, free: 158 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003328/1.133, allocations: 1.505 MB / 1.306 GB, free: 157.7 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.008918/1.142, allocations: 7.016 MB / 1.313 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003356/1.146, allocations: 2.365 MB / 1.315 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.146, allocations: 4 kB / 1.315 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/1.147, allocations: 0.9899 MB / 1.316 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009212/1.156, allocations: 1.393 MB / 1.317 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03036/1.187, allocations: 21.49 MB / 1.338 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008661/1.187, allocations: 1.678 MB / 1.34 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002355/1.19, allocations: 0.6774 MB / 1.341 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.191, allocations: 1.12 MB / 1.342 GB, free: 122 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.191, allocations: 4 kB / 1.342 GB, free: 122 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2299/1.421, allocations: 84.22 MB / 1.424 GB, free: 38.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/1.421, allocations: 305.3 kB / 1.424 GB, free: 38.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.308/5.729, allocations: 0 / 1.424 GB, free: 38.43 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_BuriedPipes_Examples_TwoBuriedPipes_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_BuriedPipes_Examples_TwoBuriedPipes.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)