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.001147/0.001147, 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.008654/0.008654, allocations: 171.7 kB / 16.27 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.83/2.83, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 11.98 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3534, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.1299/0.4833, allocations: 115.8 MB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0421/0.5254, allocations: 27.69 MB / 1.199 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007379/0.5329, allocations: 115.2 kB / 1.199 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005522/0.5384, allocations: 1.243 MB / 1.2 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01739/0.5559, allocations: 4.258 MB / 1.204 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.009414/0.5653, allocations: 2.806 MB / 1.207 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01549/0.5808, allocations: 10.99 MB / 1.218 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004355/0.5852, allocations: 2.173 MB / 1.22 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007869/0.5931, allocations: 2.804 MB / 1.223 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004791/0.5979, allocations: 2.263 MB / 1.225 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008798/0.5988, allocations: 123.9 kB / 1.225 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/0.6121, allocations: 3.217 MB / 1.228 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002835/0.615, allocations: 0.556 MB / 1.229 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004093/0.6191, allocations: 1.521 MB / 1.23 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02552/0.6446, allocations: 18.19 MB / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.6447, allocations: 0 / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.859e-06/0.6447, allocations: 4 kB / 1.248 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001345/0.6448, allocations: 3.938 kB / 1.248 GB, free: 3.051 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.7444/1.389, allocations: 3.014 MB / 1.251 GB, free: 52.06 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.389, allocations: 8.5 kB / 1.251 GB, free: 52.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/1.391, allocations: 349 kB / 1.251 GB, free: 51.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006064/1.397, allocations: 2.601 MB / 1.254 GB, free: 51.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/1.397, allocations: 134.7 kB / 1.254 GB, free: 51.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/1.398, allocations: 177.4 kB / 1.254 GB, free: 51.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/1.402, allocations: 1.891 MB / 1.256 GB, free: 51.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-05/1.402, allocations: 2.25 kB / 1.256 GB, free: 51.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/1.402, allocations: 73.97 kB / 1.256 GB, free: 51.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/1.402, allocations: 54.97 kB / 1.256 GB, free: 51.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/1.404, allocations: 1.382 MB / 1.257 GB, free: 51.14 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.01303/1.417, allocations: 9.991 MB / 1.267 GB, free: 46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/1.419, allocations: 0.9101 MB / 1.268 GB, free: 45.97 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007794/1.42, allocations: 0.5368 MB / 1.268 GB, free: 45.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/1.421, allocations: 3.09 MB / 1.272 GB, free: 42.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.422, allocations: 48.28 kB / 1.272 GB, free: 42.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=120): time 4.198e-06/1.422, allocations: 0 / 1.272 GB, free: 42.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=120): time 0.006471/1.428, allocations: 2.146 MB / 1.274 GB, free: 42.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/1.428, allocations: 63.66 kB / 1.274 GB, free: 42 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004995/1.433, allocations: 2.222 MB / 1.276 GB, free: 41.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002407/1.433, allocations: 52.64 kB / 1.276 GB, free: 41.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.435, allocations: 1.184 MB / 1.277 GB, free: 41.37 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/1.435, allocations: 427 kB / 1.277 GB, free: 41.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/1.435, allocations: 123.1 kB / 1.278 GB, free: 41.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.592e-05/1.435, allocations: 308.2 kB / 1.278 GB, free: 40.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/1.437, allocations: 477.6 kB / 1.278 GB, free: 40.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/1.438, allocations: 0.8336 MB / 1.279 GB, free: 40.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/1.441, allocations: 1.357 MB / 1.281 GB, free: 40.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/1.441, allocations: 3.344 kB / 1.281 GB, free: 40.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004687/1.445, allocations: 1.872 MB / 1.282 GB, free: 39.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002094/1.446, allocations: 372.8 kB / 1.283 GB, free: 39.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-05/1.446, allocations: 17.39 kB / 1.283 GB, free: 39.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/1.447, allocations: 310.6 kB / 1.283 GB, free: 39.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00099/1.448, allocations: 294.9 kB / 1.283 GB, free: 39.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008566/1.449, allocations: 1.301 MB / 1.285 GB, free: 38.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/1.451, allocations: 234.4 kB / 1.285 GB, free: 38.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.451, allocations: 74.81 kB / 1.285 GB, free: 38.22 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/1.451, allocations: 4.344 kB / 1.285 GB, free: 38.22 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003534/1.455, allocations: 1.619 MB / 1.286 GB, free: 38.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/1.455, allocations: 17.16 kB / 1.286 GB, free: 38.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/1.456, allocations: 298.1 kB / 1.287 GB, free: 38.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/1.457, allocations: 290.9 kB / 1.287 GB, free: 38.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008225/1.458, allocations: 1.308 MB / 1.288 GB, free: 37.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/1.46, allocations: 211.6 kB / 1.288 GB, free: 37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/1.461, allocations: 73.67 kB / 1.289 GB, free: 37 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.001307/1.462, allocations: 0.5764 MB / 1.289 GB, free: 36.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006616/1.463, allocations: 257.9 kB / 1.289 GB, free: 36.67 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/1.467, allocations: 2.328 MB / 1.292 GB, free: 36.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/1.467, allocations: 34.19 kB / 1.292 GB, free: 36.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.468, allocations: 5.344 kB / 1.292 GB, free: 36.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002929/1.47, allocations: 1.737 MB / 1.293 GB, free: 36.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009558/1.48, allocations: 5.125 MB / 1.298 GB, free: 35.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/1.48, allocations: 8.562 kB / 1.298 GB, free: 35.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/1.481, allocations: 225.1 kB / 1.299 GB, free: 35.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/1.482, allocations: 238.9 kB / 1.299 GB, free: 35.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/1.482, allocations: 52.67 kB / 1.299 GB, free: 35.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007309/1.483, allocations: 1.305 MB / 1.3 GB, free: 33.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.483, allocations: 6.594 kB / 1.3 GB, free: 33.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0049/1.488, allocations: 2.953 MB / 1.303 GB, free: 33.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.489, allocations: 0.6338 MB / 1.304 GB, free: 33.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003755/1.49, allocations: 45.06 kB / 1.304 GB, free: 33.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.491, allocations: 131.2 kB / 1.304 GB, free: 33.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/1.491, allocations: 138.8 kB / 1.304 GB, free: 33.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.492, allocations: 73.86 kB / 1.304 GB, free: 33.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002853/1.494, allocations: 1.623 MB / 1.306 GB, free: 32.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.494, allocations: 4 kB / 1.306 GB, free: 32.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004527/1.499, allocations: 1.512 MB / 1.307 GB, free: 32.78 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.006389/1.505, allocations: 3.678 MB / 1.311 GB, free: 32.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004008/1.509, allocations: 2.385 MB / 1.313 GB, free: 31.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.509, allocations: 6.453 kB / 1.313 GB, free: 31.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/1.511, allocations: 0.9772 MB / 1.314 GB, free: 31.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009938/1.521, allocations: 1.415 MB / 1.315 GB, free: 31.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00816/1.529, allocations: 6.137 MB / 1.321 GB, free: 28.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/1.53, allocations: 1.71 MB / 1.323 GB, free: 27.67 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002989/1.533, allocations: 0.6788 MB / 1.324 GB, free: 27.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/1.534, allocations: 229.8 kB / 1.324 GB, free: 27.53 MB / 0.9981 GB Notification: Performance of SimCode: time 1.383e-06/1.534, allocations: 0 / 1.324 GB, free: 27.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.09557/1.629, allocations: 65.18 MB / 1.388 GB, free: 11.53 MB / 1.029 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)