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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.409/4.409, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.614e-05, allocations: 3.406 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.486, allocations: 406 MB / 1.031 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/1.486, allocations: 85.2 kB / 1.031 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.598/10.08, allocations: 1.449 GB / 2.48 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.335e-06/10.08, allocations: 0 / 2.48 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001294/10.09, allocations: 148.8 kB / 2.48 GB, free: 109.2 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.0212/10.11, allocations: 4.577 MB / 2.484 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/10.11, allocations: 9.969 kB / 2.485 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002415/10.11, allocations: 457.2 kB / 2.485 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008186/10.12, allocations: 0.8494 MB / 2.486 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02921/10.15, allocations: 6.791 MB / 2.492 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00053/10.15, allocations: 259.5 kB / 2.493 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/10.15, allocations: 348.2 kB / 2.493 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/10.17, allocations: 5.282 MB / 2.498 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/10.17, allocations: 11.59 kB / 2.498 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/10.17, allocations: 147.2 kB / 2.498 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.294e-05/10.17, allocations: 84.12 kB / 2.498 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/10.18, allocations: 4.905 MB / 2.503 GB, free: 105.5 MB / 0.8542 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.05833/10.24, allocations: 22.69 MB / 2.525 GB, free: 95.55 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007282/10.25, allocations: 2.615 MB / 2.528 GB, free: 95.51 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004094/10.25, allocations: 1.697 MB / 2.53 GB, free: 95.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02154/10.28, allocations: 7.015 MB / 2.536 GB, free: 93.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004689/10.28, allocations: 1.781 MB / 2.538 GB, free: 93.17 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01132/10.29, allocations: 2.034 MB / 2.54 GB, free: 93.04 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=156): time 1.824e-05/10.29, allocations: 1.969 kB / 2.54 GB, free: 93.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156): time 0.01246/10.3, allocations: 4.04 MB / 2.544 GB, free: 92.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/10.31, allocations: 148 kB / 2.544 GB, free: 92.55 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/10.32, allocations: 4.506 MB / 2.549 GB, free: 92.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008808/10.32, allocations: 76.09 kB / 2.549 GB, free: 92.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.003915/10.32, allocations: 2.462 MB / 2.551 GB, free: 91.38 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/10.32, allocations: 0.5553 MB / 2.552 GB, free: 91.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/10.32, allocations: 55.95 kB / 2.552 GB, free: 91.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002266/10.32, allocations: 414.4 kB / 2.552 GB, free: 90.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003875/10.33, allocations: 1.464 MB / 2.553 GB, free: 90.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005181/10.33, allocations: 2.769 MB / 2.556 GB, free: 89.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005142/10.34, allocations: 1.945 MB / 2.558 GB, free: 89.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.991e-05/10.34, allocations: 9.625 kB / 2.558 GB, free: 89.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.06742/10.41, allocations: 8.478 MB / 2.566 GB, free: 88.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00384/10.41, allocations: 15.32 MB / 2.581 GB, free: 72.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/10.41, allocations: 36.62 kB / 2.581 GB, free: 72.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1902/10.6, allocations: 15.4 MB / 2.596 GB, free: 71.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00561/10.61, allocations: 0.6926 MB / 2.597 GB, free: 71.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/10.62, allocations: 4.711 MB / 2.602 GB, free: 70.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009044/10.63, allocations: 360.8 kB / 2.602 GB, free: 70.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/10.63, allocations: 159.6 kB / 2.602 GB, free: 70.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/10.63, allocations: 2.969 kB / 2.602 GB, free: 70.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06518/10.7, allocations: 7.975 MB / 2.61 GB, free: 69.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/10.7, allocations: 37.75 kB / 2.61 GB, free: 69.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1896/10.89, allocations: 15.31 MB / 2.625 GB, free: 68.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00569/10.89, allocations: 0.6904 MB / 2.626 GB, free: 67.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/10.91, allocations: 7.706 MB / 2.633 GB, free: 60.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008212/10.92, allocations: 346 kB / 2.634 GB, free: 60.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008775/10.92, allocations: 153.6 kB / 2.634 GB, free: 60.1 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 () * 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.001263/10.92, allocations: 284.5 kB / 2.634 GB, free: 59.81 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/10.92, allocations: 463.5 kB / 2.634 GB, free: 59.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04569/10.97, allocations: 6.765 MB / 2.641 GB, free: 53.25 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.66e-05/10.97, allocations: 27.92 kB / 2.641 GB, free: 53.22 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/10.97, allocations: 0 / 2.641 GB, free: 53.22 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02676/10.99, allocations: 6.656 MB / 2.647 GB, free: 46.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07049/11.07, allocations: 12.98 MB / 2.66 GB, free: 33.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.572e-05/11.07, allocations: 4 kB / 2.66 GB, free: 33.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005474/11.07, allocations: 415.5 kB / 2.661 GB, free: 32.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1315/11.2, allocations: 11.64 MB / 2.672 GB, free: 21.33 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005832/11.2, allocations: 51.86 kB / 2.672 GB, free: 21.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/11.21, allocations: 4.105 MB / 2.676 GB, free: 17.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/11.21, allocations: 0 / 2.676 GB, free: 17.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04261/11.26, allocations: 9.517 MB / 2.685 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005116/11.26, allocations: 1.089 MB / 2.686 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002176/11.26, allocations: 32 kB / 2.686 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007737/11.27, allocations: 299.1 kB / 2.687 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007914/11.27, allocations: 101.2 kB / 2.687 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004851/11.27, allocations: 87.92 kB / 2.687 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.009405/11.28, allocations: 3.464 MB / 2.69 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.304e-06/11.28, allocations: 0 / 2.69 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01635/11.3, allocations: 2.818 MB / 2.693 GB, free: 15.67 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) * 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.05073/11.35, allocations: 11.16 MB / 2.704 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.6947/12.04, allocations: 7.336 MB / 2.711 GB, free: 127 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/12.04, allocations: 5.281 kB / 2.711 GB, free: 127 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01099/12.06, allocations: 2.41 MB / 2.713 GB, free: 127 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02508/12.08, allocations: 2.72 MB / 2.716 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03412/12.12, allocations: 9.097 MB / 2.725 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006887/12.12, allocations: 3.307 MB / 2.728 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01905/12.14, allocations: 3.068 MB / 2.731 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005009/12.15, allocations: 1.917 MB / 2.733 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.413e-06/12.15, allocations: 1.312 kB / 2.733 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3877/12.53, allocations: 168.3 MB / 2.897 GB, free: 96.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/12.53, allocations: 222.3 kB / 2.898 GB, free: 96.14 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/22.66, allocations: 0 / 2.898 GB, free: 96.14 MB / 0.8698 GB