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: translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.0009051, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001205/0.001205, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.091/3.091, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006006/0.000601, allocations: 12.03 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3941, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.1084/0.5026, allocations: 109.4 MB / 1.165 GB, free: 7.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04592/0.5485, allocations: 26.14 MB / 1.19 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008709/0.5573, allocations: 107.3 kB / 1.19 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005692/0.5631, allocations: 1.063 MB / 1.192 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/0.5786, allocations: 3.632 MB / 1.195 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.5888, allocations: 2.213 MB / 1.197 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.02028/0.6091, allocations: 9.454 MB / 1.206 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006843/0.616, allocations: 1.902 MB / 1.208 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/0.6262, allocations: 2.687 MB / 1.211 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005956/0.6322, allocations: 2.135 MB / 1.213 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.6338, allocations: 119.8 kB / 1.213 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.6461, allocations: 2.304 MB / 1.215 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.6483, allocations: 0.5171 MB / 1.216 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.6509, allocations: 0.6369 MB / 1.217 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0089/0.6598, allocations: 4.053 MB / 1.22 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.6598, allocations: 0 / 1.22 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6599, allocations: 0 / 1.22 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002348/0.6601, allocations: 4 kB / 1.22 GB, free: 14.52 MB / 0.9825 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.009794/0.6699, allocations: 3.038 MB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.67, allocations: 12.03 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.6718, allocations: 348 kB / 1.224 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007325/0.6792, allocations: 2.521 MB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.6794, allocations: 131.4 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006275/0.68, allocations: 180 kB / 1.227 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/0.6841, allocations: 1.876 MB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.6842, allocations: 11.83 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.6844, allocations: 68 kB / 1.228 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.858e-05/0.6844, allocations: 48 kB / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.687, allocations: 1.371 MB / 1.23 GB, free: 4.723 MB / 0.9825 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.01502/0.702, allocations: 9.995 MB / 1.24 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.7035, allocations: 0.9067 MB / 1.24 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000803/0.7043, allocations: 0.5403 MB / 1.241 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002521/0.7069, allocations: 3.08 MB / 1.244 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.7069, allocations: 47.56 kB / 1.244 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=120): time 3.246e-06/0.7069, allocations: 4 kB / 1.244 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=120): time 0.005779/0.7127, allocations: 2.126 MB / 1.246 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.7128, allocations: 68.39 kB / 1.246 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/0.7167, allocations: 2.201 MB / 1.248 GB, free: 244 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.717, allocations: 49.7 kB / 1.248 GB, free: 188 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.7982/1.515, allocations: 1.188 MB / 1.25 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006974/1.516, allocations: 432 kB / 1.25 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/1.516, allocations: 31.19 kB / 1.25 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.516, allocations: 360.1 kB / 1.25 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009864/1.517, allocations: 468.4 kB / 1.251 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/1.518, allocations: 0.8235 MB / 1.252 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/1.519, allocations: 0.5947 MB / 1.252 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/1.519, allocations: 1.938 kB / 1.252 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004362/1.524, allocations: 1.86 MB / 1.254 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/1.524, allocations: 373.7 kB / 1.254 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/1.524, allocations: 14.31 kB / 1.254 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/1.525, allocations: 307.5 kB / 1.255 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/1.526, allocations: 293 kB / 1.255 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007877/1.527, allocations: 1.296 MB / 1.256 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/1.529, allocations: 232.2 kB / 1.256 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/1.529, allocations: 82.47 kB / 1.257 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/1.529, allocations: 3.5 kB / 1.257 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002978/1.532, allocations: 1.598 MB / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/1.532, allocations: 15.09 kB / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/1.533, allocations: 314 kB / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008615/1.534, allocations: 291.2 kB / 1.259 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008075/1.535, allocations: 1.307 MB / 1.26 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/1.537, allocations: 210.2 kB / 1.26 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.538, allocations: 73.86 kB / 1.26 GB, free: 178.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001273/1.539, allocations: 0.5827 MB / 1.261 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005556/1.539, allocations: 257.3 kB / 1.261 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004517/1.544, allocations: 2.319 MB / 1.263 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-05/1.544, allocations: 28.86 kB / 1.263 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.544, allocations: 0 / 1.263 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003161/1.547, allocations: 1.729 MB / 1.265 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/1.56, allocations: 5.12 MB / 1.27 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.848e-05/1.56, allocations: 9.906 kB / 1.27 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/1.561, allocations: 227.1 kB / 1.27 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/1.562, allocations: 235.6 kB / 1.27 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/1.562, allocations: 50.56 kB / 1.27 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/1.563, allocations: 1.3 MB / 1.272 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.479e-05/1.563, allocations: 9.531 kB / 1.272 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006127/1.569, allocations: 2.93 MB / 1.275 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.571, allocations: 0.6346 MB / 1.275 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005436/1.572, allocations: 35 kB / 1.275 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.574, allocations: 136.4 kB / 1.275 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/1.574, allocations: 132.2 kB / 1.276 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.574, allocations: 76.38 kB / 1.276 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003449/1.578, allocations: 1.599 MB / 1.277 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.11e-07/1.578, allocations: 0 / 1.277 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006121/1.584, allocations: 1.504 MB / 1.279 GB, free: 172.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00252/1.586, allocations: 0.9691 MB / 1.28 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004932/1.591, allocations: 2.367 MB / 1.282 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.591, allocations: 4.625 kB / 1.282 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/1.593, allocations: 0.9733 MB / 1.283 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008943/1.602, allocations: 1.415 MB / 1.284 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.614, allocations: 6.011 MB / 1.29 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/1.615, allocations: 1.712 MB / 1.292 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003948/1.619, allocations: 0.675 MB / 1.292 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008477/1.62, allocations: 241.1 kB / 1.293 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.283e-06/1.62, allocations: 0 / 1.293 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.1038/1.724, allocations: 62.5 MB / 1.354 GB, free: 111.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.makefile (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 & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)