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.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadModel(Buildings): time 3.946/3.946, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.144e-05, allocations: 4.922 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1731, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.484/6.657, allocations: 2.426 GB / 3.061 GB, free: 198.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/6.658, allocations: 78.64 kB / 3.061 GB, free: 198.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.168/9.826, allocations: 0.631 GB / 3.692 GB, free: 156.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.385e-06/9.826, allocations: 0 / 3.692 GB, free: 156.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001236/9.826, allocations: 34.08 kB / 3.692 GB, free: 156.2 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004453/9.831, allocations: 1.408 MB / 3.693 GB, free: 155.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/9.831, allocations: 9.312 kB / 3.693 GB, free: 155.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/9.834, allocations: 0.5383 MB / 3.694 GB, free: 155.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06241/9.897, allocations: 12.59 MB / 3.706 GB, free: 154.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002479/9.899, allocations: 314.9 kB / 3.706 GB, free: 154.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/9.9, allocations: 75.88 kB / 3.706 GB, free: 154.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005753/9.906, allocations: 0.9621 MB / 3.707 GB, free: 154.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/9.906, allocations: 0 / 3.707 GB, free: 154.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/9.906, allocations: 28 kB / 3.707 GB, free: 154.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-05/9.906, allocations: 37.02 kB / 3.707 GB, free: 154.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004074/9.91, allocations: 0.851 MB / 3.708 GB, free: 154.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/9.923, allocations: 3.249 MB / 3.711 GB, free: 153.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/9.925, allocations: 0.5918 MB / 3.712 GB, free: 153.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/9.927, allocations: 341.8 kB / 3.712 GB, free: 153.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/9.929, allocations: 1.031 MB / 3.713 GB, free: 152.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/9.93, allocations: 460.9 kB / 3.714 GB, free: 152.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 9.36e-06/9.93, allocations: 0 / 3.714 GB, free: 152.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.005236/9.936, allocations: 0.7638 MB / 3.714 GB, free: 152 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/9.936, allocations: 165.8 kB / 3.715 GB, free: 151.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/9.939, allocations: 0.9584 MB / 3.716 GB, free: 151.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001881/9.939, allocations: 41.73 kB / 3.716 GB, free: 151.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/9.94, allocations: 448.5 kB / 3.716 GB, free: 151.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/9.94, allocations: 186.2 kB / 3.716 GB, free: 151.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/9.94, allocations: 11.25 kB / 3.716 GB, free: 151.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/9.94, allocations: 328.1 kB / 3.716 GB, free: 151.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/9.941, allocations: 293.2 kB / 3.717 GB, free: 151.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/9.943, allocations: 0.497 MB / 3.717 GB, free: 150.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/9.944, allocations: 368.4 kB / 3.718 GB, free: 150.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/9.944, allocations: 7.062 kB / 3.718 GB, free: 150.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003611/9.948, allocations: 0.8916 MB / 3.718 GB, free: 150.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/9.948, allocations: 40.06 kB / 3.719 GB, free: 150.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/9.948, allocations: 2.969 kB / 3.719 GB, free: 150.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/9.948, allocations: 10.38 kB / 3.719 GB, free: 150.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/9.95, allocations: 212.1 kB / 3.719 GB, free: 150.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/9.95, allocations: 11.91 kB / 3.719 GB, free: 150.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/9.954, allocations: 305.8 kB / 3.719 GB, free: 150.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003393/9.954, allocations: 49.86 kB / 3.719 GB, free: 150.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (68): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004076/9.955, allocations: 174.2 kB / 3.719 GB, free: 150.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/9.955, allocations: 128.8 kB / 3.719 GB, free: 150.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/9.958, allocations: 0.8396 MB / 3.72 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/9.958, allocations: 11.3 kB / 3.72 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.879e-06/9.958, allocations: 3.844 kB / 3.72 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.82e-06/9.958, allocations: 0 / 3.72 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008016/9.966, allocations: 2.908 MB / 3.723 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/9.966, allocations: 6.875 kB / 3.723 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/9.967, allocations: 119.7 kB / 3.723 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.582e-05/9.967, allocations: 11.69 kB / 3.723 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/9.967, allocations: 24.7 kB / 3.723 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-05/9.967, allocations: 15.62 kB / 3.723 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/9.967, allocations: 14.56 kB / 3.723 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/9.97, allocations: 1.529 MB / 3.725 GB, free: 148.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/9.972, allocations: 336.6 kB / 3.725 GB, free: 148.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/9.972, allocations: 32.66 kB / 3.725 GB, free: 148.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/9.975, allocations: 121.2 kB / 3.725 GB, free: 148.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/9.975, allocations: 62.58 kB / 3.725 GB, free: 148.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/9.975, allocations: 39.27 kB / 3.725 GB, free: 148.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00237/9.978, allocations: 0.7703 MB / 3.726 GB, free: 148.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.298e-06/9.978, allocations: 0 / 3.726 GB, free: 148.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003323/9.981, allocations: 443.8 kB / 3.726 GB, free: 148 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * 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 (49): * Single equations (assignments): 46 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003864/9.985, allocations: 1.583 MB / 3.728 GB, free: 147.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002792/9.988, allocations: 0.7725 MB / 3.729 GB, free: 147.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/9.988, allocations: 3.344 kB / 3.729 GB, free: 147.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/9.989, allocations: 437.3 kB / 3.729 GB, free: 147 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005337/9.994, allocations: 0.5194 MB / 3.73 GB, free: 146.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/10, allocations: 1.485 MB / 3.731 GB, free: 146.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/10, allocations: 1.089 MB / 3.732 GB, free: 145.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002806/10, allocations: 259.3 kB / 3.732 GB, free: 145.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/10, allocations: 87.94 kB / 3.733 GB, free: 145.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.136e-06/10, allocations: 0 / 3.733 GB, free: 145.3 MB / 0.823 GB Notification: Performance of Templates: time 0.07491/10.08, allocations: 40.37 MB / 3.772 GB, free: 114.4 MB / 0.823 GB