Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01008/0.01008, allocations: 111.8 kB / 15.06 MB, free: 5.965 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.001164/0.001164, allocations: 182.3 kB / 15.94 MB, free: 5.926 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 1.971/1.971, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.245/2.245, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004639, allocations: 16 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5356, allocations: 98.71 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9768/1.512, allocations: 406 MB / 1.08 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/1.513, allocations: 86.84 kB / 1.08 GB, free: 44.93 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.074/8.586, allocations: 1.454 GB / 2.534 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.88e-06/8.586, allocations: 1.5 kB / 2.534 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0009712/8.587, allocations: 155.6 kB / 2.534 GB, free: 114.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 832 * Number of variables: 832 Notification: Performance of Generate backend data structure: time 0.02106/8.608, allocations: 5.882 MB / 2.54 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/8.608, allocations: 9.469 kB / 2.54 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005935/8.614, allocations: 0.8394 MB / 2.541 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02269/8.637, allocations: 6.858 MB / 2.547 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004119/8.638, allocations: 265.1 kB / 2.547 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/8.639, allocations: 349.2 kB / 2.548 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/8.653, allocations: 5.372 MB / 2.553 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/8.653, allocations: 10.69 kB / 2.553 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00093/8.654, allocations: 142.5 kB / 2.553 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.519e-05/8.654, allocations: 86.44 kB / 2.553 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/8.667, allocations: 5.06 MB / 2.558 GB, free: 110.5 MB / 0.8542 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.04293/8.71, allocations: 22.71 MB / 2.58 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006502/8.716, allocations: 2.727 MB / 2.583 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/8.732, allocations: 7.005 MB / 2.59 GB, free: 98.32 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004152/8.737, allocations: 1.84 MB / 2.592 GB, free: 98.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008617/8.745, allocations: 2.037 MB / 2.594 GB, free: 98.11 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=156): time 1.284e-05/8.745, allocations: 0 / 2.594 GB, free: 98.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156): time 0.02252/8.768, allocations: 6.618 MB / 2.6 GB, free: 97.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/8.768, allocations: 150.8 kB / 2.6 GB, free: 97.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009804/8.778, allocations: 4.548 MB / 2.605 GB, free: 97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005933/8.778, allocations: 71.2 kB / 2.605 GB, free: 96.97 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002731/8.781, allocations: 2.468 MB / 2.607 GB, free: 96.18 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009347/8.782, allocations: 0.56 MB / 2.608 GB, free: 95.83 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/8.782, allocations: 56.91 kB / 2.608 GB, free: 95.83 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001801/8.783, allocations: 414.1 kB / 2.608 GB, free: 95.53 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003497/8.786, allocations: 1.525 MB / 2.61 GB, free: 95.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004296/8.79, allocations: 2.819 MB / 2.612 GB, free: 93.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00434/8.795, allocations: 1.99 MB / 2.614 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.649e-05/8.795, allocations: 11.5 kB / 2.614 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01405/8.809, allocations: 5.555 MB / 2.62 GB, free: 93.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003044/8.812, allocations: 15.31 MB / 2.635 GB, free: 77.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/8.812, allocations: 40.25 kB / 2.635 GB, free: 77.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0817/8.894, allocations: 11.46 MB / 2.646 GB, free: 76.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004165/8.898, allocations: 0.6917 MB / 2.647 GB, free: 76.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/8.908, allocations: 4.723 MB / 2.651 GB, free: 75.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006586/8.915, allocations: 359.1 kB / 2.652 GB, free: 75.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008172/8.916, allocations: 160.4 kB / 2.652 GB, free: 75.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/8.916, allocations: 4.781 kB / 2.652 GB, free: 75.34 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0117/8.928, allocations: 5.035 MB / 2.657 GB, free: 75.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/8.928, allocations: 35.88 kB / 2.657 GB, free: 75.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08001/9.008, allocations: 11.39 MB / 2.668 GB, free: 74.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/9.012, allocations: 0.6921 MB / 2.669 GB, free: 74.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/9.026, allocations: 7.788 MB / 2.676 GB, free: 71.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006087/9.032, allocations: 354.2 kB / 2.676 GB, free: 71.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007617/9.033, allocations: 151.5 kB / 2.677 GB, free: 71.05 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.004048/9.037, allocations: 1.553 MB / 2.678 GB, free: 70.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/9.039, allocations: 458.1 kB / 2.679 GB, free: 70.61 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/9.05, allocations: 4.573 MB / 2.683 GB, free: 70.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-05/9.05, allocations: 22.09 kB / 2.683 GB, free: 70.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/9.05, allocations: 2.156 kB / 2.683 GB, free: 70.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01996/9.07, allocations: 6.758 MB / 2.69 GB, free: 69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0393/9.109, allocations: 13.11 MB / 2.702 GB, free: 67.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/9.109, allocations: 0 / 2.702 GB, free: 67.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/9.112, allocations: 422.6 kB / 2.703 GB, free: 67.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1128/9.225, allocations: 11.64 MB / 2.714 GB, free: 66.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004405/9.226, allocations: 44.06 kB / 2.714 GB, free: 66.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008745/9.234, allocations: 4.135 MB / 2.718 GB, free: 65.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/9.234, allocations: 6.953 kB / 2.718 GB, free: 65.33 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04546/9.28, allocations: 9.396 MB / 2.728 GB, free: 64.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004124/9.284, allocations: 1.089 MB / 2.729 GB, free: 64.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001876/9.286, allocations: 31.25 kB / 2.729 GB, free: 64.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005286/9.291, allocations: 298.1 kB / 2.729 GB, free: 64.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005337/9.292, allocations: 106.9 kB / 2.729 GB, free: 64.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003877/9.292, allocations: 80 kB / 2.729 GB, free: 64.37 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.007506/9.3, allocations: 3.52 MB / 2.733 GB, free: 64.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.106e-06/9.3, allocations: 0 / 2.733 GB, free: 64.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01296/9.313, allocations: 2.811 MB / 2.735 GB, free: 63.88 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002767/9.316, allocations: 1.252 MB / 2.736 GB, free: 63.31 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01954/9.335, allocations: 7.369 MB / 2.744 GB, free: 58.72 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/9.335, allocations: 0.6562 kB / 2.744 GB, free: 58.72 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00697/9.342, allocations: 2.47 MB / 2.746 GB, free: 56.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01463/9.357, allocations: 2.717 MB / 2.749 GB, free: 54.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/9.378, allocations: 11.01 MB / 2.759 GB, free: 44.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004141/9.382, allocations: 3.307 MB / 2.763 GB, free: 42.45 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.008676/9.39, allocations: 1.688 MB / 2.764 GB, free: 41.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/9.392, allocations: 361.2 kB / 2.765 GB, free: 41 MB / 0.8542 GB Notification: Performance of SimCode: time 1.76e-06/9.392, allocations: 0 / 2.765 GB, free: 41 MB / 0.8542 GB Notification: Performance of Templates: time 0.7965/10.19, allocations: 114.6 MB / 2.877 GB, free: 107.7 MB / 0.8698 GB