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.004359/0.004366, allocations: 229.9 kB / 15.82 MB, free: 6.297 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.001275/0.001274, allocations: 175.2 kB / 16.7 MB, free: 5.457 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.804/3.804, allocations: 389.1 MB / 406.5 MB, free: 11.85 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.963/3.963, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006514/0.0006517, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1967, allocations: 98.71 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.733/1.929, allocations: 406 MB / 1.501 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/1.93, allocations: 97.64 kB / 1.501 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.186/9.116, allocations: 1.441 GB / 2.942 GB, free: 94.37 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.675e-06/9.116, allocations: 4 kB / 2.942 GB, free: 94.37 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001082/9.117, allocations: 157.5 kB / 2.943 GB, free: 94.33 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.02595/9.143, allocations: 5.873 MB / 2.948 GB, free: 90.48 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/9.143, allocations: 14.22 kB / 2.948 GB, free: 90.47 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007311/9.15, allocations: 0.8399 MB / 2.949 GB, free: 90.08 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0256/9.176, allocations: 6.513 MB / 2.956 GB, free: 84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/9.176, allocations: 262.5 kB / 2.956 GB, free: 83.75 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/9.178, allocations: 351 kB / 2.956 GB, free: 83.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/9.192, allocations: 5.403 MB / 2.961 GB, free: 77.75 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/9.192, allocations: 7.938 kB / 2.961 GB, free: 77.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007863/9.193, allocations: 148 kB / 2.962 GB, free: 77.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.949e-05/9.193, allocations: 80 kB / 2.962 GB, free: 77.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/9.208, allocations: 5.066 MB / 2.967 GB, free: 72.45 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.0572/9.265, allocations: 22.57 MB / 2.989 GB, free: 49.18 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00678/9.272, allocations: 2.616 MB / 2.991 GB, free: 46.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004203/9.276, allocations: 1.796 MB / 2.993 GB, free: 44.77 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01935/9.296, allocations: 6.965 MB / 3 GB, free: 37.53 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004494/9.3, allocations: 1.84 MB / 3.002 GB, free: 35.68 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01081/9.311, allocations: 2.03 MB / 3.004 GB, free: 33.65 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=155): time 1.606e-05/9.311, allocations: 0 / 3.004 GB, free: 33.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=155): time 0.03258/9.344, allocations: 6.95 MB / 3.01 GB, free: 26.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/9.344, allocations: 153.8 kB / 3.01 GB, free: 26.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/9.356, allocations: 4.79 MB / 3.015 GB, free: 21.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000804/9.357, allocations: 73.7 kB / 3.015 GB, free: 21.61 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00352/9.36, allocations: 2.464 MB / 3.018 GB, free: 19.13 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/9.361, allocations: 0.5425 MB / 3.018 GB, free: 18.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003976/9.362, allocations: 58.11 kB / 3.018 GB, free: 18.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001991/9.362, allocations: 415.3 kB / 3.019 GB, free: 18.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0042/9.366, allocations: 1.528 MB / 3.02 GB, free: 16.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005367/9.372, allocations: 2.84 MB / 3.023 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005232/9.377, allocations: 1.991 MB / 3.025 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.545e-05/9.377, allocations: 8 kB / 3.025 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01749/9.394, allocations: 5.654 MB / 3.03 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006608/9.395, allocations: 1.084 MB / 3.031 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.219e-05/9.395, allocations: 35.98 kB / 3.031 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1375/9.533, allocations: 11.57 MB / 3.043 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005413/9.538, allocations: 0.6513 MB / 3.043 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/9.553, allocations: 4.737 MB / 3.048 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/9.563, allocations: 347.5 kB / 3.048 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/9.565, allocations: 163.9 kB / 3.048 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/9.565, allocations: 4 kB / 3.048 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.696/10.26, allocations: 5.023 MB / 3.053 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/10.26, allocations: 32.81 kB / 3.053 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1364/10.4, allocations: 11.38 MB / 3.065 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005096/10.4, allocations: 0.6398 MB / 3.065 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/10.42, allocations: 7.74 MB / 3.073 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007506/10.43, allocations: 334.7 kB / 3.073 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009174/10.43, allocations: 152.9 kB / 3.073 GB, free: 121.6 MB / 0.8698 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 (286): * Single equations (assignments): 279 * 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.00461/10.43, allocations: 1.542 MB / 3.075 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001735/10.44, allocations: 467.4 kB / 3.075 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/10.45, allocations: 4.566 MB / 3.08 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.065e-05/10.45, allocations: 21.2 kB / 3.08 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/10.45, allocations: 2.906 kB / 3.08 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03615/10.49, allocations: 7.312 MB / 3.087 GB, free: 119.9 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.05558/10.54, allocations: 13.19 MB / 3.1 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/10.54, allocations: 0 / 3.1 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004106/10.55, allocations: 371.7 kB / 3.1 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1319/10.68, allocations: 11.63 MB / 3.111 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005854/10.68, allocations: 51.14 kB / 3.111 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/10.69, allocations: 4.125 MB / 3.115 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/10.69, allocations: 3.25 kB / 3.115 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04588/10.74, allocations: 9.656 MB / 3.125 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004816/10.74, allocations: 1.04 MB / 3.126 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002232/10.74, allocations: 31.89 kB / 3.126 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007355/10.75, allocations: 294.2 kB / 3.126 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007535/10.75, allocations: 106.6 kB / 3.126 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004746/10.75, allocations: 80.36 kB / 3.126 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008967/10.76, allocations: 3.27 MB / 3.13 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.81e-07/10.76, allocations: 0 / 3.13 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01505/10.78, allocations: 2.785 MB / 3.132 GB, free: 116.1 MB / 0.8698 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 (127): * Single equations (assignments): 118 * 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.003564/10.78, allocations: 1.242 MB / 3.133 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02771/10.81, allocations: 7.347 MB / 3.141 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/10.81, allocations: 4.781 kB / 3.141 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.009846/10.82, allocations: 2.48 MB / 3.143 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02381/10.84, allocations: 2.744 MB / 3.146 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/10.87, allocations: 10.97 MB / 3.156 GB, free: 111 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004894/10.87, allocations: 3.299 MB / 3.16 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01052/10.88, allocations: 1.678 MB / 3.161 GB, free: 110 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/10.89, allocations: 357.6 kB / 3.162 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/10.89, allocations: 0 / 3.162 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.2834/11.17, allocations: 112.8 MB / 3.272 GB, free: 78.24 MB / 0.8698 GB