Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009001/0.009005, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001125/0.001125, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.817/1.817, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.091/2.091, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004583, allocations: 12 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5956/0.596, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.924/1.52, allocations: 385.8 MB / 1.06 GB, free: 66.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/1.52, allocations: 89.14 kB / 1.06 GB, free: 66.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.4672/1.988, allocations: 161.8 MB / 1.218 GB, free: 9.637 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.537e-06/1.988, allocations: 4 kB / 1.218 GB, free: 9.633 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.392e-05/1.988, allocations: 12 kB / 1.218 GB, free: 9.621 MB / 0.823 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.001587/1.989, allocations: 0.7513 MB / 1.219 GB, free: 8.816 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.989, allocations: 8.031 kB / 1.219 GB, free: 8.809 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/1.989, allocations: 43.53 kB / 1.219 GB, free: 8.766 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5216/2.511, allocations: 13.25 MB / 1.232 GB, free: 240.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/2.511, allocations: 16.23 kB / 1.232 GB, free: 240.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/2.511, allocations: 19.31 kB / 1.232 GB, free: 240.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/2.512, allocations: 177 kB / 1.232 GB, free: 240.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/2.512, allocations: 3.891 kB / 1.232 GB, free: 240.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/2.512, allocations: 4.125 kB / 1.232 GB, free: 240.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/2.512, allocations: 4.656 kB / 1.232 GB, free: 240.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/2.512, allocations: 149.8 kB / 1.232 GB, free: 240.9 MB / 0.823 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.001323/2.514, allocations: 0.8183 MB / 1.233 GB, free: 240.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/2.514, allocations: 114.6 kB / 1.233 GB, free: 240.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/2.514, allocations: 339.7 kB / 1.234 GB, free: 240 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/2.514, allocations: 35.28 kB / 1.234 GB, free: 239.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 3.065e-06/2.514, allocations: 2.938 kB / 1.234 GB, free: 239.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0006857/2.515, allocations: 198.5 kB / 1.234 GB, free: 239.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/2.515, allocations: 54.94 kB / 1.234 GB, free: 239.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/2.515, allocations: 295.4 kB / 1.234 GB, free: 239.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/2.515, allocations: 31.89 kB / 1.234 GB, free: 239.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/2.516, allocations: 201.8 kB / 1.234 GB, free: 239.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/2.516, allocations: 33.2 kB / 1.234 GB, free: 239.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.052e-06/2.516, allocations: 8.594 kB / 1.234 GB, free: 239.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/2.516, allocations: 343.1 kB / 1.235 GB, free: 239.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/2.516, allocations: 39.28 kB / 1.235 GB, free: 239.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/2.516, allocations: 103.8 kB / 1.235 GB, free: 239.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/2.516, allocations: 50.05 kB / 1.235 GB, free: 239.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.023e-06/2.516, allocations: 0.75 kB / 1.235 GB, free: 239.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000505/2.517, allocations: 180.5 kB / 1.235 GB, free: 239.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/2.517, allocations: 184.7 kB / 1.235 GB, free: 239 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.047e-06/2.517, allocations: 1.406 kB / 1.235 GB, free: 239 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/2.517, allocations: 5.203 kB / 1.235 GB, free: 239 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/2.517, allocations: 30.45 kB / 1.235 GB, free: 239 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.87e-06/2.517, allocations: 4.641 kB / 1.235 GB, free: 239 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/2.518, allocations: 27.86 kB / 1.235 GB, free: 239 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/2.518, allocations: 9.906 kB / 1.235 GB, free: 239 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/2.518, allocations: 3.75 kB / 1.235 GB, free: 239 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000388/2.518, allocations: 106.4 kB / 1.235 GB, free: 239 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.619e-06/2.518, allocations: 3.875 kB / 1.235 GB, free: 239 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.606e-06/2.518, allocations: 4.828 kB / 1.235 GB, free: 238.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/2.518, allocations: 33.19 kB / 1.235 GB, free: 238.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.27e-06/2.518, allocations: 1.422 kB / 1.235 GB, free: 238.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/2.518, allocations: 33 kB / 1.235 GB, free: 238.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/2.519, allocations: 8.984 kB / 1.235 GB, free: 238.9 MB / 0.823 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.0002033/2.519, allocations: 224.7 kB / 1.236 GB, free: 238.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/2.519, allocations: 35.91 kB / 1.236 GB, free: 238.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006213/2.519, allocations: 207.3 kB / 1.236 GB, free: 238.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/2.52, allocations: 6.5 kB / 1.236 GB, free: 238.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.585e-06/2.52, allocations: 3.5 kB / 1.236 GB, free: 238.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.769e-06/2.52, allocations: 2.109 kB / 1.236 GB, free: 238.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/2.521, allocations: 0.5555 MB / 1.236 GB, free: 238.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/2.521, allocations: 5.453 kB / 1.236 GB, free: 238.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/2.521, allocations: 25.81 kB / 1.237 GB, free: 238.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.671e-06/2.521, allocations: 5.859 kB / 1.237 GB, free: 238.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/2.521, allocations: 5.125 kB / 1.237 GB, free: 238.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.632e-06/2.521, allocations: 1.516 kB / 1.237 GB, free: 238.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.709e-06/2.521, allocations: 4.75 kB / 1.237 GB, free: 238.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/2.521, allocations: 308.6 kB / 1.237 GB, free: 238.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/2.522, allocations: 124.3 kB / 1.237 GB, free: 238.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/2.522, allocations: 2.781 kB / 1.237 GB, free: 238.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/2.522, allocations: 25.06 kB / 1.237 GB, free: 238.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/2.522, allocations: 10.75 kB / 1.237 GB, free: 238.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/2.522, allocations: 5.531 kB / 1.237 GB, free: 238.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003355/2.522, allocations: 238.9 kB / 1.237 GB, free: 238 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.97e-07/2.522, allocations: 4.406 kB / 1.237 GB, free: 238 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008149/2.523, allocations: 161.3 kB / 1.237 GB, free: 238 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 10 * 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.0006231/2.524, allocations: 286.1 kB / 1.238 GB, free: 237.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00067/2.525, allocations: 186 kB / 1.238 GB, free: 237.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.41e-06/2.525, allocations: 1.312 kB / 1.238 GB, free: 237.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/2.525, allocations: 74.88 kB / 1.238 GB, free: 237.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/2.526, allocations: 141.6 kB / 1.238 GB, free: 237.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/2.527, allocations: 0.6533 MB / 1.239 GB, free: 237.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/2.527, allocations: 0.8035 MB / 1.239 GB, free: 236.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003715/2.528, allocations: 62.84 kB / 1.24 GB, free: 236.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/2.528, allocations: 30.2 kB / 1.24 GB, free: 236.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.302e-06/2.528, allocations: 0 / 1.24 GB, free: 236.8 MB / 0.823 GB Notification: Performance of Templates: time 0.01755/2.545, allocations: 6.263 MB / 1.246 GB, free: 236.8 MB / 0.823 GB