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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.364/4.364, allocations: 433.2 MB / 440.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.073e-05, allocations: 3.969 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2254, allocations: 98.74 MB / 0.6289 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.497, allocations: 405.4 MB / 1.025 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.497, allocations: 84.77 kB / 1.025 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.542/10.04, allocations: 1.441 GB / 2.466 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.765e-06/10.04, allocations: 0 / 2.466 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001299/10.04, allocations: 159.7 kB / 2.466 GB, free: 110.9 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.02114/10.06, allocations: 4.57 MB / 2.47 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/10.06, allocations: 12.97 kB / 2.47 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008053/10.07, allocations: 0.8372 MB / 2.471 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0287/10.1, allocations: 6.798 MB / 2.478 GB, free: 108 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/10.1, allocations: 108 kB / 2.478 GB, free: 108 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001781/10.1, allocations: 207.2 kB / 2.478 GB, free: 108 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01398/10.11, allocations: 4.73 MB / 2.483 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/10.13, allocations: 4.811 MB / 2.487 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002243/10.13, allocations: 12.25 kB / 2.487 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001664/10.13, allocations: 7.375 kB / 2.487 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-05/10.13, allocations: 85.19 kB / 2.487 GB, free: 107.2 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.0559/10.19, allocations: 22.04 MB / 2.509 GB, free: 97.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006912/10.2, allocations: 2.656 MB / 2.512 GB, free: 97.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003829/10.2, allocations: 1.691 MB / 2.513 GB, free: 97.36 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.021/10.22, allocations: 6.883 MB / 2.52 GB, free: 95.09 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004462/10.23, allocations: 1.741 MB / 2.522 GB, free: 95.02 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01102/10.24, allocations: 1.958 MB / 2.523 GB, free: 94.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=156): time 2.234e-05/10.24, allocations: 0 / 2.523 GB, free: 94.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156): time 0.0197/10.26, allocations: 4.691 MB / 2.528 GB, free: 94.58 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/10.26, allocations: 148.8 kB / 2.528 GB, free: 94.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/10.27, allocations: 3.952 MB / 2.532 GB, free: 94.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008499/10.27, allocations: 31.52 kB / 2.532 GB, free: 94.08 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.003959/10.27, allocations: 2.468 MB / 2.535 GB, free: 93.22 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001314/10.27, allocations: 0.5293 MB / 2.535 GB, free: 92.88 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/10.27, allocations: 2.625 kB / 2.535 GB, free: 92.88 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002464/10.28, allocations: 412.9 kB / 2.535 GB, free: 92.58 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003593/10.28, allocations: 1.451 MB / 2.537 GB, free: 92.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004812/10.28, allocations: 2.723 MB / 2.54 GB, free: 91.01 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/10.3, allocations: 2.508 MB / 2.542 GB, free: 90.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-05/10.3, allocations: 7.625 kB / 2.542 GB, free: 90.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.07349/10.37, allocations: 8.913 MB / 2.551 GB, free: 90.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003815/10.37, allocations: 15.07 MB / 2.565 GB, free: 74.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002059/10.37, allocations: 33.47 kB / 2.565 GB, free: 74.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07673/10.45, allocations: 6.208 MB / 2.571 GB, free: 74.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005547/10.46, allocations: 0.6921 MB / 2.572 GB, free: 74.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02165/10.48, allocations: 5.535 MB / 2.578 GB, free: 73.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008371/10.49, allocations: 312.7 kB / 2.578 GB, free: 73.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/10.49, allocations: 157 kB / 2.578 GB, free: 73.13 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/10.49, allocations: 3.812 kB / 2.578 GB, free: 73.13 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06941/10.56, allocations: 8.201 MB / 2.586 GB, free: 72.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/10.56, allocations: 34 kB / 2.586 GB, free: 72.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06482/10.62, allocations: 6.151 MB / 2.592 GB, free: 72.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005512/10.63, allocations: 0.6902 MB / 2.593 GB, free: 72.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02389/10.65, allocations: 8.229 MB / 2.601 GB, free: 68.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007412/10.66, allocations: 292 kB / 2.601 GB, free: 68.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008986/10.66, allocations: 150.4 kB / 2.601 GB, free: 68.84 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.001104/10.66, allocations: 202.6 kB / 2.601 GB, free: 68.66 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01739/10.68, allocations: 4.499 MB / 2.606 GB, free: 67.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002101/10.68, allocations: 433.4 kB / 2.606 GB, free: 66.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05058/10.73, allocations: 7.18 MB / 2.613 GB, free: 64.14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-05/10.73, allocations: 16 kB / 2.613 GB, free: 64.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/10.73, allocations: 0 / 2.613 GB, free: 64.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03256/10.76, allocations: 7.135 MB / 2.62 GB, free: 57.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05674/10.82, allocations: 13.2 MB / 2.633 GB, free: 44.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/10.82, allocations: 3.953 kB / 2.633 GB, free: 44.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00453/10.83, allocations: 423.5 kB / 2.633 GB, free: 43.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008142/10.83, allocations: 2.445 MB / 2.636 GB, free: 41.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005223/10.83, allocations: 27.95 kB / 2.636 GB, free: 41.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01653/10.85, allocations: 4.801 MB / 2.641 GB, free: 36.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/10.85, allocations: 3.938 kB / 2.641 GB, free: 36.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04842/10.9, allocations: 9.948 MB / 2.65 GB, free: 26.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004838/10.9, allocations: 1.058 MB / 2.651 GB, free: 25.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/10.91, allocations: 12 kB / 2.651 GB, free: 25.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007228/10.91, allocations: 267.1 kB / 2.652 GB, free: 24.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006926/10.91, allocations: 105.1 kB / 2.652 GB, free: 24.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004522/10.91, allocations: 83.89 kB / 2.652 GB, free: 24.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006852/10.92, allocations: 2.982 MB / 2.655 GB, free: 21.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.92e-07/10.92, allocations: 0 / 2.655 GB, free: 21.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01494/10.94, allocations: 2.728 MB / 2.657 GB, free: 19.07 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) * 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.0498/10.99, allocations: 11.52 MB / 2.669 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02568/11.01, allocations: 7.099 MB / 2.676 GB, free: 496 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/11.01, allocations: 4.781 kB / 2.676 GB, free: 492 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.6709/11.68, allocations: 2.367 MB / 2.678 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02189/11.7, allocations: 2.409 MB / 2.68 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04009/11.74, allocations: 8.804 MB / 2.689 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007068/11.75, allocations: 3.313 MB / 2.692 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.02282/11.77, allocations: 2.802 MB / 2.695 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006025/11.78, allocations: 1.914 MB / 2.697 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.373e-06/11.78, allocations: 0 / 2.697 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3481/12.13, allocations: 146.4 MB / 2.84 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/12.13, allocations: 176.6 kB / 2.84 GB, free: 102 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.327/21.46, allocations: 0 / 2.84 GB, free: 102 MB / 0.8542 GB