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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.02/4.02, allocations: 433.2 MB / 440.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.218e-05, allocations: 2.875 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2355, allocations: 98.74 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.416, allocations: 385.1 MB / 1.005 GB, free: 328 kB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/1.417, allocations: 87.14 kB / 1.005 GB, free: 284 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.146/2.562, allocations: 160.1 MB / 1.161 GB, free: 265.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.323e-06/2.562, allocations: 4 kB / 1.161 GB, free: 265.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.416e-05/2.562, allocations: 12 kB / 1.161 GB, free: 265.7 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.001229/2.564, allocations: 0.6617 MB / 1.162 GB, free: 265 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/2.564, allocations: 8.031 kB / 1.162 GB, free: 265 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/2.564, allocations: 47.44 kB / 1.162 GB, free: 264.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04159/2.605, allocations: 13.14 MB / 1.175 GB, free: 251.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/2.605, allocations: 8 kB / 1.175 GB, free: 251.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/2.605, allocations: 12 kB / 1.175 GB, free: 251.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000282/2.606, allocations: 88.64 kB / 1.175 GB, free: 251.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/2.606, allocations: 123.9 kB / 1.175 GB, free: 251.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/2.606, allocations: 7.984 kB / 1.175 GB, free: 251.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/2.606, allocations: 0 / 1.175 GB, free: 251.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/2.606, allocations: 7.938 kB / 1.175 GB, free: 251.6 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.001268/2.607, allocations: 0.7795 MB / 1.176 GB, free: 250.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/2.608, allocations: 86.52 kB / 1.176 GB, free: 250.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/2.608, allocations: 44.88 kB / 1.176 GB, free: 250.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/2.608, allocations: 336.4 kB / 1.176 GB, free: 250.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/2.608, allocations: 38.56 kB / 1.176 GB, free: 250.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/2.608, allocations: 4 kB / 1.176 GB, free: 250.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0004824/2.609, allocations: 121.4 kB / 1.176 GB, free: 250 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/2.609, allocations: 63.34 kB / 1.177 GB, free: 249.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/2.609, allocations: 250.4 kB / 1.177 GB, free: 249.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/2.609, allocations: 25.7 kB / 1.177 GB, free: 249.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/2.609, allocations: 200.1 kB / 1.177 GB, free: 249.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/2.609, allocations: 39.45 kB / 1.177 GB, free: 249.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/2.609, allocations: 0 / 1.177 GB, free: 249.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/2.609, allocations: 338.8 kB / 1.177 GB, free: 249.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/2.609, allocations: 27.98 kB / 1.177 GB, free: 249 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/2.609, allocations: 78.8 kB / 1.177 GB, free: 248.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/2.61, allocations: 39.97 kB / 1.177 GB, free: 248.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/2.61, allocations: 4 kB / 1.177 GB, free: 248.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003558/2.61, allocations: 133.2 kB / 1.178 GB, free: 248.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/2.61, allocations: 186 kB / 1.178 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/2.61, allocations: 0 / 1.178 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/2.61, allocations: 0 / 1.178 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/2.61, allocations: 31.92 kB / 1.178 GB, free: 248.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/2.61, allocations: 4.281 kB / 1.178 GB, free: 248.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/2.611, allocations: 27.88 kB / 1.178 GB, free: 248.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/2.611, allocations: 8 kB / 1.178 GB, free: 248.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/2.611, allocations: 7.938 kB / 1.178 GB, free: 248.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002748/2.611, allocations: 71.89 kB / 1.178 GB, free: 248.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/2.611, allocations: 0 / 1.178 GB, free: 248.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/2.611, allocations: 8 kB / 1.178 GB, free: 248.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/2.611, allocations: 27.92 kB / 1.178 GB, free: 248.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/2.611, allocations: 3.984 kB / 1.178 GB, free: 248.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/2.612, allocations: 24.02 kB / 1.178 GB, free: 248.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/2.612, allocations: 4 kB / 1.178 GB, free: 248.4 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 () * 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 7.754e-05/2.612, allocations: 120.9 kB / 1.178 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003116/2.612, allocations: 121.3 kB / 1.178 GB, free: 248.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/2.612, allocations: 39.55 kB / 1.178 GB, free: 248.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/2.613, allocations: 164.7 kB / 1.178 GB, free: 247.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/2.613, allocations: 0 / 1.178 GB, free: 247.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/2.613, allocations: 0 / 1.178 GB, free: 247.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/2.613, allocations: 7.938 kB / 1.178 GB, free: 247.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008131/2.614, allocations: 499.4 kB / 1.179 GB, free: 247.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/2.614, allocations: 4.172 kB / 1.179 GB, free: 247.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/2.614, allocations: 23.98 kB / 1.179 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/2.614, allocations: 3.938 kB / 1.179 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/2.614, allocations: 8 kB / 1.179 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/2.614, allocations: 0 / 1.179 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/2.614, allocations: 3.953 kB / 1.179 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/2.614, allocations: 261.6 kB / 1.179 GB, free: 247 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/2.614, allocations: 116.7 kB / 1.179 GB, free: 246.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/2.614, allocations: 0 / 1.179 GB, free: 246.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/2.615, allocations: 31.84 kB / 1.179 GB, free: 246.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/2.615, allocations: 11.98 kB / 1.179 GB, free: 246.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/2.615, allocations: 4 kB / 1.179 GB, free: 246.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002095/2.615, allocations: 200.6 kB / 1.18 GB, free: 246.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.01e-07/2.615, allocations: 0 / 1.18 GB, free: 246.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007557/2.616, allocations: 163.7 kB / 1.18 GB, free: 246.5 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 () * 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.001125/2.617, allocations: 1.049 MB / 1.181 GB, free: 245.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000344/2.617, allocations: 130 kB / 1.181 GB, free: 245.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/2.617, allocations: 0 / 1.181 GB, free: 245.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/2.617, allocations: 47.94 kB / 1.181 GB, free: 245.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/2.619, allocations: 138.4 kB / 1.181 GB, free: 245.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/2.62, allocations: 446.2 kB / 1.181 GB, free: 244.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/2.62, allocations: 0.7996 MB / 1.182 GB, free: 243.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005404/2.62, allocations: 83.5 kB / 1.182 GB, free: 243.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/2.621, allocations: 111.4 kB / 1.182 GB, free: 243.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.142e-06/2.621, allocations: 0 / 1.182 GB, free: 243.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05003/2.671, allocations: 8.914 MB / 1.191 GB, free: 234.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/2.671, allocations: 187 kB / 1.191 GB, free: 234.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/5.737, allocations: 0 / 1.191 GB, free: 234.6 MB / 0.823 GB