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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001094/0.001095, allocations: 91.22 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.008976/0.008976, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.579/1.579, 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.1-master/package.mo): time 2.957/2.957, allocations: 462.7 MB / 0.7364 GB, free: 344 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 9.875 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3486, allocations: 159.6 MB / 1.059 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.1182/0.4669, allocations: 115.8 MB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.05542/0.5223, allocations: 27.7 MB / 1.199 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006934/0.5293, allocations: 111.2 kB / 1.199 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006462/0.5358, allocations: 1.243 MB / 1.2 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01827/0.5541, allocations: 4.254 MB / 1.204 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01135/0.5655, allocations: 2.815 MB / 1.207 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01829/0.5838, allocations: 10.99 MB / 1.218 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005611/0.5894, allocations: 2.177 MB / 1.22 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009779/0.5992, allocations: 2.804 MB / 1.223 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005646/0.6049, allocations: 2.263 MB / 1.225 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.606, allocations: 116 kB / 1.225 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01397/0.62, allocations: 3.225 MB / 1.228 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.6214, allocations: 0.556 MB / 1.229 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003891/0.6253, allocations: 1.521 MB / 1.23 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02666/0.652, allocations: 18.19 MB / 1.248 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6521, allocations: 0 / 1.248 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6521, allocations: 0 / 1.248 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001741/0.6522, allocations: 0 / 1.248 GB, free: 3.113 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.008338/0.6606, allocations: 3.013 MB / 1.251 GB, free: 36 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.6607, allocations: 8.031 kB / 1.251 GB, free: 28 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7206/1.381, allocations: 354.8 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006563/1.388, allocations: 2.598 MB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/1.388, allocations: 133.9 kB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004098/1.389, allocations: 181.4 kB / 1.254 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003752/1.392, allocations: 1.89 MB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/1.392, allocations: 6.844 kB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/1.392, allocations: 69.31 kB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.019e-05/1.393, allocations: 56.25 kB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/1.395, allocations: 1.38 MB / 1.257 GB, free: 184.5 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.01446/1.409, allocations: 9.991 MB / 1.267 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/1.411, allocations: 0.9193 MB / 1.268 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/1.412, allocations: 0.5381 MB / 1.269 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001867/1.414, allocations: 3.082 MB / 1.272 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/1.414, allocations: 59.56 kB / 1.272 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=120): time 4.388e-06/1.414, allocations: 0 / 1.272 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=120): time 0.006204/1.42, allocations: 2.142 MB / 1.274 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.42, allocations: 64.53 kB / 1.274 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005079/1.425, allocations: 2.219 MB / 1.276 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002922/1.425, allocations: 47.95 kB / 1.276 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/1.426, allocations: 1.195 MB / 1.277 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/1.427, allocations: 424.9 kB / 1.278 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/1.427, allocations: 127.5 kB / 1.278 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.824e-05/1.427, allocations: 302.3 kB / 1.278 GB, free: 173 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009922/1.428, allocations: 477.8 kB / 1.278 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/1.43, allocations: 0.8279 MB / 1.279 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/1.432, allocations: 1.361 MB / 1.281 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/1.432, allocations: 2.969 kB / 1.281 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004985/1.437, allocations: 1.872 MB / 1.282 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002344/1.437, allocations: 373.8 kB / 1.283 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.485e-05/1.437, allocations: 18.27 kB / 1.283 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/1.439, allocations: 300.8 kB / 1.283 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009988/1.44, allocations: 294.1 kB / 1.283 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009148/1.441, allocations: 1.309 MB / 1.285 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/1.444, allocations: 235.3 kB / 1.285 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/1.444, allocations: 75.3 kB / 1.285 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.444, allocations: 3.281 kB / 1.285 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003761/1.448, allocations: 1.62 MB / 1.286 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/1.448, allocations: 13.8 kB / 1.286 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/1.449, allocations: 312.8 kB / 1.287 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.45, allocations: 287.1 kB / 1.287 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008768/1.451, allocations: 1.297 MB / 1.288 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/1.453, allocations: 209.2 kB / 1.289 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/1.454, allocations: 77.56 kB / 1.289 GB, free: 166.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 (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.001455/1.455, allocations: 0.5822 MB / 1.289 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000728/1.456, allocations: 255.9 kB / 1.289 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005354/1.461, allocations: 2.335 MB / 1.292 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.683e-05/1.461, allocations: 26.36 kB / 1.292 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/1.461, allocations: 3.844 kB / 1.292 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003286/1.464, allocations: 1.737 MB / 1.293 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/1.476, allocations: 5.125 MB / 1.298 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-05/1.476, allocations: 9.75 kB / 1.298 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009392/1.477, allocations: 227.7 kB / 1.299 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/1.478, allocations: 248.9 kB / 1.299 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/1.478, allocations: 50.72 kB / 1.299 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009281/1.479, allocations: 1.301 MB / 1.3 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/1.479, allocations: 10.94 kB / 1.3 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005685/1.485, allocations: 2.942 MB / 1.303 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/1.487, allocations: 0.6331 MB / 1.304 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007898/1.488, allocations: 34.25 kB / 1.304 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.49, allocations: 143.2 kB / 1.304 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/1.49, allocations: 136.5 kB / 1.304 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/1.491, allocations: 80.14 kB / 1.304 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003227/1.494, allocations: 1.625 MB / 1.306 GB, free: 157 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.494, allocations: 0 / 1.306 GB, free: 157 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005517/1.499, allocations: 1.518 MB / 1.307 GB, free: 156.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 (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.006797/1.506, allocations: 3.684 MB / 1.311 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005532/1.512, allocations: 2.381 MB / 1.313 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.512, allocations: 3.156 kB / 1.313 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.514, allocations: 0.9716 MB / 1.314 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/1.525, allocations: 1.411 MB / 1.315 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008968/1.534, allocations: 6.16 MB / 1.321 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.535, allocations: 1.706 MB / 1.323 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002902/1.538, allocations: 0.6715 MB / 1.324 GB, free: 142.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/1.539, allocations: 239.3 kB / 1.324 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.252e-06/1.539, allocations: 0 / 1.324 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.0935/1.632, allocations: 65.16 MB / 1.388 GB, free: 78.23 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)