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 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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005871/0.005871, allocations: 231.8 kB / 15.82 MB, free: 6.293 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.001854/0.001854, allocations: 174 kB / 16.7 MB, free: 5.449 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 3.94/3.94, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.94/3.94, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004877, allocations: 15.5 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1702, allocations: 98.72 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.693/1.863, allocations: 373.2 MB / 1.469 GB, free: 239.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/1.863, allocations: 95.98 kB / 1.469 GB, free: 239.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7888/2.652, allocations: 243.6 MB / 1.707 GB, free: 70.16 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.705e-06/2.652, allocations: 0 / 1.707 GB, free: 70.16 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.242e-05/2.652, allocations: 16 kB / 1.707 GB, free: 70.14 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.00282/2.655, allocations: 1.017 MB / 1.708 GB, free: 69.07 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/2.655, allocations: 12.03 kB / 1.708 GB, free: 69.06 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/2.657, allocations: 179.1 kB / 1.708 GB, free: 68.89 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03238/2.689, allocations: 10.46 MB / 1.719 GB, free: 58.26 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005747/2.69, allocations: 96.94 kB / 1.719 GB, free: 58.17 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/2.69, allocations: 40 kB / 1.719 GB, free: 58.13 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/2.691, allocations: 0.4929 MB / 1.719 GB, free: 57.61 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/2.691, allocations: 0 / 1.719 GB, free: 57.61 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.405e-05/2.691, allocations: 16 kB / 1.719 GB, free: 57.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/2.691, allocations: 11.95 kB / 1.719 GB, free: 57.59 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/2.693, allocations: 422.6 kB / 1.72 GB, free: 57.18 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.004365/2.698, allocations: 2.241 MB / 1.722 GB, free: 54.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/2.699, allocations: 374.7 kB / 1.722 GB, free: 54.36 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/2.7, allocations: 216.7 kB / 1.722 GB, free: 54.14 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/2.7, allocations: 344.4 kB / 1.723 GB, free: 53.73 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009098/2.701, allocations: 284.9 kB / 1.723 GB, free: 53.44 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 3.005e-06/2.701, allocations: 0 / 1.723 GB, free: 53.44 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.003499/2.705, allocations: 0.8204 MB / 1.724 GB, free: 52.58 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/2.705, allocations: 86.5 kB / 1.724 GB, free: 52.48 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/2.706, allocations: 487 kB / 1.724 GB, free: 52 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/2.706, allocations: 37.64 kB / 1.724 GB, free: 51.95 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/2.706, allocations: 292.2 kB / 1.725 GB, free: 51.66 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/2.706, allocations: 106.5 kB / 1.725 GB, free: 51.55 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/2.706, allocations: 12 kB / 1.725 GB, free: 51.54 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/2.706, allocations: 358.8 kB / 1.725 GB, free: 51.18 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/2.707, allocations: 171.9 kB / 1.725 GB, free: 51.02 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/2.708, allocations: 278.9 kB / 1.725 GB, free: 50.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/2.709, allocations: 223.3 kB / 1.726 GB, free: 50.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/2.709, allocations: 0 / 1.726 GB, free: 50.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002237/2.711, allocations: 0.587 MB / 1.726 GB, free: 49.88 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-05/2.711, allocations: 168 kB / 1.726 GB, free: 49.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/2.711, allocations: 4 kB / 1.726 GB, free: 49.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/2.712, allocations: 72.78 kB / 1.726 GB, free: 49.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/2.712, allocations: 79.89 kB / 1.727 GB, free: 49.53 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005096/2.713, allocations: 0.5991 MB / 1.727 GB, free: 48.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/2.714, allocations: 91.62 kB / 1.727 GB, free: 48.81 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/2.714, allocations: 16 kB / 1.727 GB, free: 48.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/2.714, allocations: 4 kB / 1.727 GB, free: 48.79 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001931/2.716, allocations: 0.5291 MB / 1.728 GB, free: 48.26 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/2.716, allocations: 0 / 1.728 GB, free: 48.26 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/2.716, allocations: 48.83 kB / 1.728 GB, free: 48.21 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/2.717, allocations: 84.03 kB / 1.728 GB, free: 48.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/2.719, allocations: 1.629 MB / 1.729 GB, free: 46.35 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/2.72, allocations: 79.69 kB / 1.73 GB, free: 46.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/2.72, allocations: 19.98 kB / 1.73 GB, free: 46.25 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 () * Number of clocked 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.0004628/2.72, allocations: 298.7 kB / 1.73 GB, free: 45.94 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/2.72, allocations: 59.34 kB / 1.73 GB, free: 45.88 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/2.722, allocations: 0.6137 MB / 1.731 GB, free: 45.25 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/2.723, allocations: 4 kB / 1.731 GB, free: 45.25 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/2.723, allocations: 0 / 1.731 GB, free: 45.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001831/2.724, allocations: 0.779 MB / 1.731 GB, free: 44.39 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/2.728, allocations: 1.224 MB / 1.732 GB, free: 43.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/2.728, allocations: 0 / 1.732 GB, free: 43.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/2.728, allocations: 67.88 kB / 1.733 GB, free: 43.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/2.729, allocations: 52.78 kB / 1.733 GB, free: 42.98 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/2.729, allocations: 11.98 kB / 1.733 GB, free: 42.97 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003559/2.729, allocations: 0.5758 MB / 1.733 GB, free: 42.37 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.729, allocations: 0 / 1.733 GB, free: 42.37 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/2.732, allocations: 0.9163 MB / 1.734 GB, free: 41.43 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/2.732, allocations: 180.3 kB / 1.734 GB, free: 41.24 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/2.732, allocations: 8 kB / 1.734 GB, free: 41.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009092/2.733, allocations: 67.94 kB / 1.734 GB, free: 41.16 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/2.733, allocations: 23.97 kB / 1.734 GB, free: 41.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/2.733, allocations: 19.98 kB / 1.734 GB, free: 41.12 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000543/2.734, allocations: 342.8 kB / 1.735 GB, free: 40.79 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.51e-07/2.734, allocations: 0 / 1.735 GB, free: 40.79 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001771/2.736, allocations: 379.3 kB / 1.735 GB, free: 40.42 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) * Number of clocked states: 0 () * 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.001011/2.737, allocations: 428.4 kB / 1.735 GB, free: 40 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003113/2.74, allocations: 0.9779 MB / 1.736 GB, free: 38.99 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/2.74, allocations: 3.938 kB / 1.736 GB, free: 38.99 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009352/2.741, allocations: 311.3 kB / 1.737 GB, free: 38.67 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/2.743, allocations: 238 kB / 1.737 GB, free: 38.44 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/2.746, allocations: 1.293 MB / 1.738 GB, free: 37.12 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/2.747, allocations: 0.9017 MB / 1.739 GB, free: 36.19 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0008908/2.748, allocations: 112.3 kB / 1.739 GB, free: 36.07 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/2.748, allocations: 43.42 kB / 1.739 GB, free: 36.03 MB / 0.823 GB Notification: Performance of SimCode: time 1.192e-06/2.748, allocations: 0 / 1.739 GB, free: 36.03 MB / 0.823 GB Notification: Performance of Templates: time 0.03082/2.779, allocations: 11.54 MB / 1.751 GB, free: 24.66 MB / 0.823 GB