Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadModel(Buildings): time 3.882/3.882, allocations: 432.7 MB / 445.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.171e-05, allocations: 5.875 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1784, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9333/1.112, allocations: 373.2 MB / 0.9991 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/1.112, allocations: 83.11 kB / 0.9992 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.393/2.506, allocations: 244.5 MB / 1.238 GB, free: 162.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.588e-06/2.506, allocations: 4 kB / 1.238 GB, free: 162.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.572e-05/2.506, allocations: 19.2 kB / 1.238 GB, free: 162.5 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.001506/2.507, allocations: 0.9084 MB / 1.239 GB, free: 161.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/2.507, allocations: 8.031 kB / 1.239 GB, free: 161.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000949/2.508, allocations: 183.1 kB / 1.239 GB, free: 161.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02958/2.538, allocations: 11.29 MB / 1.25 GB, free: 150.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/2.538, allocations: 95.38 kB / 1.25 GB, free: 150 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/2.538, allocations: 40 kB / 1.25 GB, free: 150 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008565/2.539, allocations: 438.3 kB / 1.251 GB, free: 149.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/2.539, allocations: 0 / 1.251 GB, free: 149.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/2.539, allocations: 23.98 kB / 1.251 GB, free: 149.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/2.539, allocations: 11.95 kB / 1.251 GB, free: 149.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/2.54, allocations: 307 kB / 1.251 GB, free: 149.2 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.00319/2.543, allocations: 2.235 MB / 1.253 GB, free: 146.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/2.544, allocations: 258.7 kB / 1.253 GB, free: 146.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/2.544, allocations: 164.9 kB / 1.254 GB, free: 146.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/2.544, allocations: 343.1 kB / 1.254 GB, free: 146 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/2.545, allocations: 245.1 kB / 1.254 GB, free: 145.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 3.237e-06/2.545, allocations: 0 / 1.254 GB, free: 145.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.001008/2.546, allocations: 425.5 kB / 1.255 GB, free: 145.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/2.546, allocations: 93 kB / 1.255 GB, free: 145.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/2.547, allocations: 428.9 kB / 1.255 GB, free: 144.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/2.547, allocations: 33.7 kB / 1.255 GB, free: 144.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/2.547, allocations: 291.7 kB / 1.255 GB, free: 144.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/2.547, allocations: 98.5 kB / 1.255 GB, free: 144.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/2.547, allocations: 8 kB / 1.255 GB, free: 144.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/2.547, allocations: 362.8 kB / 1.256 GB, free: 143.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/2.547, allocations: 116 kB / 1.256 GB, free: 143.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/2.548, allocations: 227.4 kB / 1.256 GB, free: 143.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/2.548, allocations: 175.9 kB / 1.256 GB, free: 143.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.62e-06/2.548, allocations: 0 / 1.256 GB, free: 143.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009824/2.549, allocations: 483 kB / 1.257 GB, free: 142.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/2.549, allocations: 0.6529 MB / 1.257 GB, free: 142.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.478e-06/2.549, allocations: 0 / 1.257 GB, free: 142.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/2.549, allocations: 56.81 kB / 1.257 GB, free: 142.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/2.55, allocations: 83.88 kB / 1.258 GB, free: 142.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000423/2.55, allocations: 0.5875 MB / 1.258 GB, free: 141.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/2.551, allocations: 91.58 kB / 1.258 GB, free: 141.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/2.551, allocations: 19.98 kB / 1.258 GB, free: 141.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.682e-06/2.551, allocations: 4 kB / 1.258 GB, free: 141.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009123/2.552, allocations: 422.3 kB / 1.259 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.955e-06/2.552, allocations: 4.188 kB / 1.259 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/2.552, allocations: 56.72 kB / 1.259 GB, free: 140.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/2.553, allocations: 88 kB / 1.259 GB, free: 140.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/2.554, allocations: 1.623 MB / 1.26 GB, free: 139 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007502/2.555, allocations: 79.69 kB / 1.26 GB, free: 138.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.149e-05/2.555, allocations: 23.98 kB / 1.26 GB, free: 138.9 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.0001886/2.555, allocations: 160.8 kB / 1.261 GB, free: 138.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/2.556, allocations: 55.34 kB / 1.261 GB, free: 138.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/2.557, allocations: 0.5225 MB / 1.261 GB, free: 138.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/2.557, allocations: 4 kB / 1.261 GB, free: 138.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-06/2.557, allocations: 0 / 1.261 GB, free: 138.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008684/2.558, allocations: 0.6706 MB / 1.262 GB, free: 137.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/2.56, allocations: 1.105 MB / 1.263 GB, free: 136.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.141e-06/2.56, allocations: 0 / 1.263 GB, free: 136.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/2.56, allocations: 71.97 kB / 1.263 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/2.56, allocations: 40.83 kB / 1.263 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/2.56, allocations: 12 kB / 1.263 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003277/2.561, allocations: 0.5874 MB / 1.264 GB, free: 135.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.726e-06/2.561, allocations: 0 / 1.264 GB, free: 135.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/2.562, allocations: 0.7757 MB / 1.264 GB, free: 134.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/2.562, allocations: 184.3 kB / 1.265 GB, free: 134.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-05/2.563, allocations: 8 kB / 1.265 GB, free: 134.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/2.563, allocations: 68 kB / 1.265 GB, free: 134.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/2.563, allocations: 19.97 kB / 1.265 GB, free: 134.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/2.563, allocations: 15.98 kB / 1.265 GB, free: 134.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004792/2.564, allocations: 333.6 kB / 1.265 GB, free: 134 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.54e-07/2.564, allocations: 0 / 1.265 GB, free: 134 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001488/2.565, allocations: 387.5 kB / 1.265 GB, free: 133.7 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.0008118/2.566, allocations: 430.6 kB / 1.266 GB, free: 133.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001562/2.568, allocations: 0.8336 MB / 1.267 GB, free: 132.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/2.568, allocations: 4 kB / 1.267 GB, free: 132.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004337/2.568, allocations: 259.2 kB / 1.267 GB, free: 132.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/2.57, allocations: 244.1 kB / 1.267 GB, free: 131.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/2.572, allocations: 0.729 MB / 1.268 GB, free: 131.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/2.572, allocations: 0.8949 MB / 1.269 GB, free: 130.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0008962/2.573, allocations: 144.3 kB / 1.269 GB, free: 130.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/2.573, allocations: 35.42 kB / 1.269 GB, free: 130 MB / 0.823 GB Notification: Performance of SimCode: time 1.786e-06/2.573, allocations: 3.938 kB / 1.269 GB, free: 130 MB / 0.823 GB Notification: Performance of Templates: time 0.02756/2.601, allocations: 12.85 MB / 1.281 GB, free: 117.3 MB / 0.823 GB