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: "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01124/0.01124, allocations: 106.1 kB / 15.05 MB, free: 5.93 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.001246/0.001245, allocations: 187.5 kB / 15.95 MB, free: 5.895 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 2.084/2.084, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.366/2.366, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006418/0.0006419, allocations: 8 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6713, allocations: 98.72 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.885, allocations: 406 MB / 1.08 GB, free: 41.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.886, allocations: 92.78 kB / 1.08 GB, free: 41.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.629/10.52, allocations: 1.454 GB / 2.534 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.136e-06/10.52, allocations: 2.156 kB / 2.534 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001504/10.52, allocations: 159.7 kB / 2.534 GB, free: 113.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.03281/10.55, allocations: 5.888 MB / 2.54 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 8.498e-05/10.55, allocations: 9.062 kB / 2.54 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00329/10.55, allocations: 474.5 kB / 2.54 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009189/10.56, allocations: 0.843 MB / 2.541 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03054/10.59, allocations: 6.853 MB / 2.548 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005355/10.59, allocations: 261.7 kB / 2.548 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/10.6, allocations: 347.7 kB / 2.548 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/10.62, allocations: 5.376 MB / 2.554 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002653/10.62, allocations: 12.97 kB / 2.554 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001931/10.62, allocations: 145.9 kB / 2.554 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/10.62, allocations: 79.62 kB / 2.554 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/10.63, allocations: 5.06 MB / 2.559 GB, free: 109.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.05934/10.69, allocations: 22.71 MB / 2.581 GB, free: 99.61 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008881/10.7, allocations: 2.734 MB / 2.584 GB, free: 99.56 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02254/10.73, allocations: 7.001 MB / 2.59 GB, free: 97.29 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005674/10.73, allocations: 1.837 MB / 2.592 GB, free: 97.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0119/10.74, allocations: 2.03 MB / 2.594 GB, free: 97.09 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=156): time 1.784e-05/10.74, allocations: 0 / 2.594 GB, free: 97.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156): time 0.03178/10.78, allocations: 6.626 MB / 2.601 GB, free: 96.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/10.78, allocations: 151.3 kB / 2.601 GB, free: 96.31 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01387/10.79, allocations: 4.549 MB / 2.605 GB, free: 95.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008903/10.79, allocations: 69.52 kB / 2.605 GB, free: 95.95 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.004226/10.79, allocations: 2.477 MB / 2.608 GB, free: 95.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/10.8, allocations: 0.5549 MB / 2.608 GB, free: 94.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000552/10.8, allocations: 54.56 kB / 2.608 GB, free: 94.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002596/10.8, allocations: 414.3 kB / 2.609 GB, free: 94.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004648/10.8, allocations: 1.528 MB / 2.61 GB, free: 94.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005912/10.81, allocations: 2.822 MB / 2.613 GB, free: 92.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/10.81, allocations: 1.987 MB / 2.615 GB, free: 92.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.926e-05/10.81, allocations: 11.22 kB / 2.615 GB, free: 92.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.0186/10.83, allocations: 5.552 MB / 2.62 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003781/10.84, allocations: 15.32 MB / 2.635 GB, free: 76.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001765/10.84, allocations: 35.66 kB / 2.635 GB, free: 76.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1405/10.98, allocations: 11.45 MB / 2.647 GB, free: 75.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005634/10.98, allocations: 0.6921 MB / 2.647 GB, free: 75.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/11, allocations: 4.732 MB / 2.652 GB, free: 74.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009384/11.01, allocations: 360.2 kB / 2.652 GB, free: 74.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/11.01, allocations: 159.9 kB / 2.652 GB, free: 74.26 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/11.01, allocations: 6.562 kB / 2.652 GB, free: 74.26 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01646/11.02, allocations: 5.032 MB / 2.657 GB, free: 74.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/11.02, allocations: 38.84 kB / 2.657 GB, free: 74.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1418/11.17, allocations: 11.39 MB / 2.668 GB, free: 73.35 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005542/11.17, allocations: 0.6866 MB / 2.669 GB, free: 73.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/11.19, allocations: 7.79 MB / 2.677 GB, free: 70.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008384/11.2, allocations: 346.2 kB / 2.677 GB, free: 69.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/11.2, allocations: 157.5 kB / 2.677 GB, free: 69.97 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.00539/11.21, allocations: 1.551 MB / 2.679 GB, free: 69.76 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002213/11.21, allocations: 453.6 kB / 2.679 GB, free: 69.53 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/11.22, allocations: 4.574 MB / 2.684 GB, free: 69.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/11.22, allocations: 19.97 kB / 2.684 GB, free: 69.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/11.22, allocations: 0 / 2.684 GB, free: 69.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02964/11.25, allocations: 6.759 MB / 2.69 GB, free: 67.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05684/11.31, allocations: 13.11 MB / 2.703 GB, free: 66.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/11.31, allocations: 3.562 kB / 2.703 GB, free: 66.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004582/11.32, allocations: 420 kB / 2.703 GB, free: 66.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1377/11.45, allocations: 11.64 MB / 2.715 GB, free: 65.85 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001404/11.45, allocations: 47.44 kB / 2.715 GB, free: 65.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/11.47, allocations: 4.125 MB / 2.719 GB, free: 64.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/11.47, allocations: 1.594 kB / 2.719 GB, free: 64.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04188/11.51, allocations: 9.39 MB / 2.728 GB, free: 63.68 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005343/11.51, allocations: 1.091 MB / 2.729 GB, free: 63.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002473/11.52, allocations: 35.2 kB / 2.729 GB, free: 63.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008018/11.52, allocations: 298.1 kB / 2.729 GB, free: 63.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008449/11.53, allocations: 105.1 kB / 2.73 GB, free: 63.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005181/11.53, allocations: 80.59 kB / 2.73 GB, free: 63.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01021/11.54, allocations: 3.515 MB / 2.733 GB, free: 63.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.814e-06/11.54, allocations: 0 / 2.733 GB, free: 63.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0182/11.55, allocations: 2.823 MB / 2.736 GB, free: 62.04 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.04528/11.6, allocations: 11.04 MB / 2.747 GB, free: 54.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0295/11.63, allocations: 7.354 MB / 2.754 GB, free: 47.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/11.63, allocations: 4.656 kB / 2.754 GB, free: 47.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01059/11.64, allocations: 2.465 MB / 2.756 GB, free: 45.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02363/11.66, allocations: 2.725 MB / 2.759 GB, free: 43.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0468/11.71, allocations: 40.55 MB / 2.798 GB, free: 18.94 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00643/11.72, allocations: 3.309 MB / 2.802 GB, free: 16.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01191/11.73, allocations: 1.695 MB / 2.803 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005993/11.74, allocations: 2.014 MB / 2.805 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of SimCode: time 1.683e-06/11.74, allocations: 0 / 2.805 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.147/12.88, allocations: 158.9 MB / 2.96 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/12.88, allocations: 259.5 kB / 2.961 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.187/22.07, allocations: 0 / 2.961 GB, free: 119.7 MB / 0.8698 GB