Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.135/4.135, allocations: 433.2 MB / 440.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.357e-05, allocations: 4.875 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2306, allocations: 98.74 MB / 0.6289 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.381, allocations: 372.5 MB / 0.9927 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/1.381, allocations: 87.88 kB / 0.9928 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.426/2.807, allocations: 242.9 MB / 1.23 GB, free: 194.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.174e-06/2.807, allocations: 0 / 1.23 GB, free: 194.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.546e-05/2.807, allocations: 18.06 kB / 1.23 GB, free: 194.9 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002346/2.809, allocations: 0.9148 MB / 1.231 GB, free: 194 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/2.81, allocations: 12.03 kB / 1.231 GB, free: 194 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/2.811, allocations: 175.1 kB / 1.231 GB, free: 193.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03731/2.848, allocations: 11.24 MB / 1.242 GB, free: 182.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005623/2.849, allocations: 84.7 kB / 1.242 GB, free: 182.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/2.849, allocations: 24 kB / 1.242 GB, free: 182.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008513/2.85, allocations: 289.4 kB / 1.242 GB, free: 182.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/2.851, allocations: 389.4 kB / 1.243 GB, free: 181.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/2.851, allocations: 3.953 kB / 1.243 GB, free: 181.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/2.851, allocations: 4 kB / 1.243 GB, free: 181.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/2.851, allocations: 12 kB / 1.243 GB, free: 181.7 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.004304/2.855, allocations: 2.143 MB / 1.245 GB, free: 179.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006988/2.856, allocations: 258.7 kB / 1.245 GB, free: 179.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/2.857, allocations: 156.8 kB / 1.245 GB, free: 179 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/2.857, allocations: 336.4 kB / 1.246 GB, free: 178.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004296/2.857, allocations: 224.9 kB / 1.246 GB, free: 178.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 4.408e-06/2.857, allocations: 7.984 kB / 1.246 GB, free: 178.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.001606/2.859, allocations: 409.7 kB / 1.246 GB, free: 177.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/2.859, allocations: 85.05 kB / 1.246 GB, free: 177.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006177/2.86, allocations: 377.2 kB / 1.247 GB, free: 177.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/2.86, allocations: 25.7 kB / 1.247 GB, free: 177.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/2.86, allocations: 288.1 kB / 1.247 GB, free: 177.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/2.86, allocations: 98.56 kB / 1.247 GB, free: 177 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/2.86, allocations: 4 kB / 1.247 GB, free: 177 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001042/2.86, allocations: 362.7 kB / 1.247 GB, free: 176.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/2.861, allocations: 112 kB / 1.247 GB, free: 176.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/2.861, allocations: 215 kB / 1.248 GB, free: 176.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005727/2.862, allocations: 159.9 kB / 1.248 GB, free: 176.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/2.862, allocations: 0 / 1.248 GB, free: 176.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001491/2.863, allocations: 464.4 kB / 1.248 GB, free: 175.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/2.863, allocations: 0.6375 MB / 1.249 GB, free: 175 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/2.863, allocations: 4 kB / 1.249 GB, free: 175 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/2.864, allocations: 48.83 kB / 1.249 GB, free: 174.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/2.864, allocations: 79.89 kB / 1.249 GB, free: 174.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005706/2.865, allocations: 0.6108 MB / 1.25 GB, free: 174.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/2.866, allocations: 71.73 kB / 1.25 GB, free: 174.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/2.866, allocations: 15.98 kB / 1.25 GB, free: 174.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/2.866, allocations: 5.406 kB / 1.25 GB, free: 174.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001305/2.868, allocations: 376.6 kB / 1.25 GB, free: 173.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/2.868, allocations: 8 kB / 1.25 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/2.868, allocations: 44.83 kB / 1.25 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/2.869, allocations: 80.05 kB / 1.25 GB, free: 173.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/2.87, allocations: 1.56 MB / 1.252 GB, free: 171.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/2.871, allocations: 67.75 kB / 1.252 GB, free: 171.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/2.872, allocations: 20 kB / 1.252 GB, free: 171.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002468/2.872, allocations: 158.5 kB / 1.252 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001365/2.873, allocations: 413.2 kB / 1.252 GB, free: 171.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/2.873, allocations: 55.39 kB / 1.252 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/2.875, allocations: 468.5 kB / 1.253 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/2.875, allocations: 7.953 kB / 1.253 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/2.875, allocations: 0 / 1.253 GB, free: 170.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/2.876, allocations: 0.6403 MB / 1.254 GB, free: 170 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/2.879, allocations: 1.021 MB / 1.255 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/2.879, allocations: 3.984 kB / 1.255 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/2.88, allocations: 63.98 kB / 1.255 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/2.88, allocations: 36.78 kB / 1.255 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/2.88, allocations: 15.98 kB / 1.255 GB, free: 168.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003856/2.88, allocations: 0.564 MB / 1.255 GB, free: 168.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/2.88, allocations: 4.031 kB / 1.255 GB, free: 168.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/2.882, allocations: 0.7306 MB / 1.256 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/2.882, allocations: 172.3 kB / 1.256 GB, free: 167.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/2.883, allocations: 4 kB / 1.256 GB, free: 167.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/2.883, allocations: 60 kB / 1.256 GB, free: 167.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/2.884, allocations: 19.98 kB / 1.256 GB, free: 167.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/2.884, allocations: 15.98 kB / 1.256 GB, free: 167.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004578/2.884, allocations: 290.9 kB / 1.256 GB, free: 166.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.11e-07/2.884, allocations: 0 / 1.256 GB, free: 166.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001976/2.886, allocations: 371.2 kB / 1.257 GB, free: 166.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002925/2.889, allocations: 1.63 MB / 1.258 GB, free: 164.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001892/2.891, allocations: 0.7968 MB / 1.259 GB, free: 164.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/2.891, allocations: 0 / 1.259 GB, free: 164.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005082/2.892, allocations: 255.3 kB / 1.259 GB, free: 163.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/2.894, allocations: 208.4 kB / 1.26 GB, free: 163.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/2.897, allocations: 0.8772 MB / 1.26 GB, free: 162.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/2.897, allocations: 0.8986 MB / 1.261 GB, free: 161.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001161/2.899, allocations: 132.1 kB / 1.261 GB, free: 161.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/2.899, allocations: 179.4 kB / 1.262 GB, free: 161.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.002e-06/2.899, allocations: 8 kB / 1.262 GB, free: 161.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07311/2.972, allocations: 15.55 MB / 1.277 GB, free: 146 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/2.972, allocations: 203.1 kB / 1.277 GB, free: 145.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.394/6.367, allocations: 0 / 1.277 GB, free: 145.8 MB / 0.823 GB