Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.58/4.58, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002375/0.002374, allocations: 357.3 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.96/3.96, allocations: 410.7 MB / 1.112 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 184.4 kB / 1.225 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004857, allocations: 12 kB / 1.348 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5665/0.567, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.013/0.5801, allocations: 13.77 MB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004781/0.5849, allocations: 3.489 MB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.5853, allocations: 15.94 kB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.5858, allocations: 168.3 kB / 1.478 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.5874, allocations: 0.6654 MB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.589, allocations: 0.5401 MB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.5903, allocations: 1.188 MB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.5906, allocations: 221.4 kB / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.5911, allocations: 340.8 kB / 1.481 GB, free: 264 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.5915, allocations: 254.7 kB / 1.481 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.5915, allocations: 12 kB / 1.481 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008296/0.5924, allocations: 474.8 kB / 1.481 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.5924, allocations: 63.67 kB / 1.481 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.5925, allocations: 93.52 kB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.5931, allocations: 439 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5931, allocations: 3.812 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.245e-06/0.5931, allocations: 0 / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.158e-06/0.5932, allocations: 0 / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009377/0.5941, allocations: 0.6773 MB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.5942, allocations: 12.38 kB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.269e-05/0.5942, allocations: 43.53 kB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009179/0.5952, allocations: 485.2 kB / 1.483 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.5952, allocations: 16.33 kB / 1.483 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.5953, allocations: 16 kB / 1.483 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.5957, allocations: 181.9 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5957, allocations: 0 / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.5957, allocations: 5.188 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.701e-06/0.5957, allocations: 5.078 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.5961, allocations: 160.2 kB / 1.483 GB, free: 261 MB / 0.8542 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.001096/0.5973, allocations: 0.8557 MB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.5976, allocations: 128.3 kB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.5978, allocations: 80.28 kB / 1.484 GB, free: 259.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.598, allocations: 336.4 kB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.5981, allocations: 34.5 kB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.669e-06/0.5981, allocations: 1.266 kB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0006251/0.5987, allocations: 234 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.5988, allocations: 56.59 kB / 1.485 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.5991, allocations: 345.7 kB / 1.485 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.5992, allocations: 25.7 kB / 1.485 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.5993, allocations: 202 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.5993, allocations: 43.38 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.843e-06/0.5993, allocations: 4 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.5994, allocations: 339.5 kB / 1.486 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.5996, allocations: 57.67 kB / 1.486 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.5998, allocations: 89.62 kB / 1.486 GB, free: 258 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.6, allocations: 58.55 kB / 1.486 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.798e-06/0.6, allocations: 0 / 1.486 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004238/0.6004, allocations: 183.1 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.6005, allocations: 112.3 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6005, allocations: 0 / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6005, allocations: 0 / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.6007, allocations: 33.45 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.4e-06/0.6007, allocations: 0 / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.601, allocations: 34.75 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.6011, allocations: 4 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.235e-06/0.6011, allocations: 4 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003541/0.6014, allocations: 122.7 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-06/0.6015, allocations: 5.625 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-06/0.6015, allocations: 0 / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.6016, allocations: 27.92 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.18e-06/0.6016, allocations: 6.062 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.6019, allocations: 34.78 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.6019, allocations: 4 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.6021, allocations: 221.1 kB / 1.487 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.6022, allocations: 35.72 kB / 1.487 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.6027, allocations: 239.5 kB / 1.487 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.582e-06/0.6028, allocations: 8 kB / 1.487 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.504e-06/0.6028, allocations: 4 kB / 1.487 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.038e-06/0.6028, allocations: 3.984 kB / 1.487 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009254/0.6037, allocations: 0.6501 MB / 1.488 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.986e-06/0.6037, allocations: 1.156 kB / 1.488 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.6039, allocations: 31.92 kB / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.116e-06/0.6039, allocations: 5.125 kB / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.6039, allocations: 0 / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.737e-06/0.6039, allocations: 7.953 kB / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.343e-06/0.604, allocations: 0.7812 kB / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.6044, allocations: 330.1 kB / 1.488 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.6046, allocations: 128.5 kB / 1.488 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.6046, allocations: 4.875 kB / 1.488 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.6049, allocations: 29.62 kB / 1.488 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.605, allocations: 13.09 kB / 1.488 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.605, allocations: 8 kB / 1.488 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002533/0.6053, allocations: 248.4 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.71e-07/0.6053, allocations: 0 / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006511/0.606, allocations: 187.6 kB / 1.489 GB, free: 255.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004899/0.6065, allocations: 246.4 kB / 1.489 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005658/0.607, allocations: 199 kB / 1.489 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.814e-06/0.6071, allocations: 0 / 1.489 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.6073, allocations: 88.28 kB / 1.489 GB, free: 254.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.6083, allocations: 145 kB / 1.489 GB, free: 254.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/0.6091, allocations: 0.6783 MB / 1.49 GB, free: 253.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.6094, allocations: 0.8009 MB / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003102/0.6097, allocations: 78.61 kB / 1.491 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.6098, allocations: 31.42 kB / 1.491 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.38e-06/0.6098, allocations: 0 / 1.491 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.01371/0.6235, allocations: 6.099 MB / 1.497 GB, free: 247.1 MB / 0.8542 GB