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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001452/0.001452, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001712, allocations: 192 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.037/3.037, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 78.39 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.328, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.1177/0.4457, allocations: 118.5 MB / 1.184 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04135/0.4871, allocations: 27.87 MB / 1.211 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006715/0.4939, allocations: 123.3 kB / 1.211 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.4989, allocations: 1.529 MB / 1.213 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.5131, allocations: 4.602 MB / 1.217 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.009763/0.5229, allocations: 3.111 MB / 1.22 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01279/0.5357, allocations: 8.474 MB / 1.229 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004508/0.5403, allocations: 2.66 MB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007584/0.5479, allocations: 3.331 MB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004135/0.552, allocations: 2.334 MB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.553, allocations: 292 kB / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007297/0.5604, allocations: 2.831 MB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.5619, allocations: 0.7317 MB / 1.24 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003896/0.5658, allocations: 1.691 MB / 1.242 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.5791, allocations: 5.356 MB / 1.247 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.5792, allocations: 4 kB / 1.247 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5792, allocations: 3.938 kB / 1.247 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001782/0.5793, allocations: 0 / 1.247 GB, free: 2.363 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.6662/1.246, allocations: 3.572 MB / 1.251 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.246, allocations: 10.62 kB / 1.251 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/1.247, allocations: 348.5 kB / 1.251 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006042/1.253, allocations: 2.529 MB / 1.254 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/1.253, allocations: 132 kB / 1.254 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/1.254, allocations: 177.8 kB / 1.254 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/1.258, allocations: 1.897 MB / 1.256 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.015e-05/1.258, allocations: 6.484 kB / 1.256 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/1.258, allocations: 69.28 kB / 1.256 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/1.258, allocations: 53.05 kB / 1.256 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/1.261, allocations: 1.376 MB / 1.257 GB, free: 176.2 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.01457/1.276, allocations: 10.04 MB / 1.267 GB, free: 169 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/1.277, allocations: 0.9165 MB / 1.268 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008/1.278, allocations: 0.5335 MB / 1.268 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/1.28, allocations: 3.073 MB / 1.271 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/1.28, allocations: 49.44 kB / 1.272 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=120): time 3.676e-06/1.28, allocations: 0 / 1.272 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=120): time 0.00615/1.286, allocations: 2.129 MB / 1.274 GB, free: 164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/1.287, allocations: 65.05 kB / 1.274 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/1.291, allocations: 2.243 MB / 1.276 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002025/1.291, allocations: 52.2 kB / 1.276 GB, free: 163 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009671/1.292, allocations: 1.179 MB / 1.277 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004956/1.292, allocations: 438 kB / 1.277 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/1.293, allocations: 284.5 kB / 1.278 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.293, allocations: 360.9 kB / 1.278 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009084/1.294, allocations: 455 kB / 1.279 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/1.295, allocations: 0.7797 MB / 1.279 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/1.298, allocations: 1.297 MB / 1.281 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/1.298, allocations: 4.562 kB / 1.281 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004858/1.303, allocations: 1.8 MB / 1.282 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/1.303, allocations: 8.5 kB / 1.282 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.063e-05/1.303, allocations: 14.61 kB / 1.282 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/1.304, allocations: 306.1 kB / 1.283 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.306, allocations: 289.7 kB / 1.283 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/1.307, allocations: 1.304 MB / 1.284 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/1.309, allocations: 150.8 kB / 1.284 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/1.309, allocations: 73.89 kB / 1.284 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002174/1.311, allocations: 0.8528 MB / 1.285 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001208/1.313, allocations: 0.7806 MB / 1.286 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001971/1.315, allocations: 1.291 MB / 1.287 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.193e-06/1.315, allocations: 2.531 kB / 1.287 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.00478/1.319, allocations: 1.796 MB / 1.289 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/1.319, allocations: 8.531 kB / 1.289 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/1.319, allocations: 14.58 kB / 1.289 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/1.321, allocations: 301.8 kB / 1.289 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/1.322, allocations: 289.8 kB / 1.29 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008934/1.323, allocations: 1.298 MB / 1.291 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.325, allocations: 126.5 kB / 1.291 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/1.325, allocations: 74.11 kB / 1.291 GB, free: 153.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 (165): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005766/1.326, allocations: 264.9 kB / 1.291 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/1.327, allocations: 265.1 kB / 1.292 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/1.332, allocations: 2.322 MB / 1.294 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.991e-05/1.332, allocations: 24.95 kB / 1.294 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.332, allocations: 5.062 kB / 1.294 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003201/1.335, allocations: 1.737 MB / 1.296 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.346, allocations: 5.116 MB / 1.301 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/1.346, allocations: 13.59 kB / 1.301 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000892/1.347, allocations: 224.9 kB / 1.301 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/1.348, allocations: 241.8 kB / 1.301 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/1.348, allocations: 51.09 kB / 1.301 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008317/1.349, allocations: 1.294 MB / 1.302 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.349, allocations: 10.72 kB / 1.302 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005508/1.355, allocations: 2.95 MB / 1.305 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/1.356, allocations: 0.5856 MB / 1.306 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000957/1.357, allocations: 37.47 kB / 1.306 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.359, allocations: 60.8 kB / 1.306 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/1.359, allocations: 130.8 kB / 1.306 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.359, allocations: 78.84 kB / 1.306 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002786/1.362, allocations: 1.655 MB / 1.308 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.362, allocations: 0 / 1.308 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00453/1.367, allocations: 1.469 MB / 1.309 GB, free: 144 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.001818/1.369, allocations: 0.9887 MB / 1.31 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005047/1.374, allocations: 2.471 MB / 1.312 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.374, allocations: 3.969 kB / 1.312 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/1.375, allocations: 0.9738 MB / 1.313 GB, free: 142 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006794/1.382, allocations: 1.51 MB / 1.315 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/1.389, allocations: 5.025 MB / 1.32 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009627/1.39, allocations: 1.71 MB / 1.321 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002535/1.393, allocations: 0.6704 MB / 1.322 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/1.393, allocations: 243.3 kB / 1.322 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.393, allocations: 0 / 1.322 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0921/1.486, allocations: 64.31 MB / 1.385 GB, free: 70.63 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)