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.01199/0.01199, allocations: 106.6 kB / 15.06 MB, free: 5.555 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.001334/0.001334, allocations: 179.6 kB / 15.95 MB, free: 5.52 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.142/2.142, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.451/2.451, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005331/0.0005333, allocations: 8 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7699, allocations: 98.72 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.1298/0.8997, allocations: 66.66 MB / 0.7485 GB, free: 11.6 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.04899/0.9488, allocations: 19.56 MB / 0.7676 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004803/0.9536, allocations: 87.31 kB / 0.7677 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.006863/0.9606, allocations: 1.271 MB / 0.7689 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01547/0.9761, allocations: 3.128 MB / 0.772 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01901/0.9951, allocations: 3.899 MB / 0.7758 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02422/1.019, allocations: 8.863 MB / 0.7845 GB, free: 6.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01302/1.032, allocations: 5.338 MB / 0.7897 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01207/1.045, allocations: 4.069 MB / 0.7936 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009456/1.054, allocations: 3.4 MB / 0.797 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002459/1.057, allocations: 264 kB / 0.7972 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007667/1.064, allocations: 1.221 MB / 0.7984 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.003731/1.068, allocations: 1.207 MB / 0.7996 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003544/1.072, allocations: 1.135 MB / 0.8007 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01412/1.086, allocations: 6.975 MB / 0.8075 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.086, allocations: 4 kB / 0.8075 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.727e-06/1.086, allocations: 0 / 0.8075 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003731/1.086, allocations: 0 / 0.8075 GB, free: 15.01 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 848 * Number of variables: 848 Notification: Performance of Generate backend data structure: time 0.02165/1.108, allocations: 5.518 MB / 0.8129 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/1.108, allocations: 8.031 kB / 0.8129 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00245/1.111, allocations: 483.7 kB / 0.8134 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006956/1.118, allocations: 0.8557 MB / 0.8142 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/1.136, allocations: 4.8 MB / 0.8189 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004908/1.137, allocations: 271.2 kB / 0.8192 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/1.139, allocations: 352 kB / 0.8195 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02277/1.161, allocations: 5.813 MB / 0.8252 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002249/1.162, allocations: 11.88 kB / 0.8252 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001781/1.163, allocations: 148 kB / 0.8253 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/1.164, allocations: 84 kB / 0.8254 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/1.184, allocations: 5.605 MB / 0.8309 GB, free: 6.629 MB / 0.6511 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.06719/1.251, allocations: 24.41 MB / 0.8547 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/1.265, allocations: 3.01 MB / 0.8576 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02463/1.29, allocations: 7.416 MB / 0.8649 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006745/1.297, allocations: 1.972 MB / 0.8668 GB, free: 360 kB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008115/1.305, allocations: 1.285 MB / 0.8681 GB, free: 15.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=162): time 1.456e-05/1.305, allocations: 0 / 0.8681 GB, free: 15.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=162): time 0.04234/1.347, allocations: 7.698 MB / 0.8756 GB, free: 7.281 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/1.347, allocations: 300 kB / 0.8759 GB, free: 6.922 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01462/1.362, allocations: 5.277 MB / 0.881 GB, free: 1.664 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008494/1.363, allocations: 69.7 kB / 0.8811 GB, free: 1.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004462/1.368, allocations: 2.526 MB / 0.8836 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001517/1.369, allocations: 0.5779 MB / 0.8841 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004855/1.37, allocations: 56 kB / 0.8842 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003214/1.37, allocations: 423.5 kB / 0.8846 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005887/1.376, allocations: 1.731 MB / 0.8863 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007284/1.383, allocations: 2.997 MB / 0.8892 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007025/1.39, allocations: 2.193 MB / 0.8913 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4e-05/1.39, allocations: 8 kB / 0.8914 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.02322/1.414, allocations: 6.22 MB / 0.8974 GB, free: 216 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.6055/2.019, allocations: 15.58 MB / 0.9126 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/2.02, allocations: 40.97 kB / 0.9127 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1654/2.185, allocations: 11.87 MB / 0.9243 GB, free: 198.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007288/2.192, allocations: 0.7501 MB / 0.925 GB, free: 198.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/2.207, allocations: 5.033 MB / 0.9299 GB, free: 196.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00837/2.215, allocations: 360.1 kB / 0.9303 GB, free: 196.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/2.216, allocations: 172.7 kB / 0.9304 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/2.217, allocations: 4.75 kB / 0.9304 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01886/2.235, allocations: 5.545 MB / 0.9358 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/2.236, allocations: 44.09 kB / 0.9359 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.136/2.372, allocations: 11.69 MB / 0.9473 GB, free: 189.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005701/2.377, allocations: 0.7372 MB / 0.948 GB, free: 189.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/2.396, allocations: 8.127 MB / 0.956 GB, free: 182.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007419/2.404, allocations: 342.2 kB / 0.9563 GB, free: 182 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009978/2.405, allocations: 167.9 kB / 0.9564 GB, free: 181.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 292 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 3 * 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,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.004652/2.41, allocations: 1.583 MB / 0.958 GB, free: 180.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/2.411, allocations: 473.9 kB / 0.9584 GB, free: 180 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/2.427, allocations: 4.954 MB / 0.9633 GB, free: 175.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-05/2.428, allocations: 16 kB / 0.9633 GB, free: 175.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/2.428, allocations: 0 / 0.9633 GB, free: 175.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02466/2.452, allocations: 6.657 MB / 0.9698 GB, free: 168.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0494/2.502, allocations: 13.2 MB / 0.9827 GB, free: 155 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/2.502, allocations: 0 / 0.9827 GB, free: 155 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004873/2.507, allocations: 431.5 kB / 0.9831 GB, free: 154.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1307/2.637, allocations: 11.91 MB / 0.9947 GB, free: 142.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005777/2.638, allocations: 47.97 kB / 0.9948 GB, free: 142.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/2.649, allocations: 4.372 MB / 0.999 GB, free: 138.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/2.649, allocations: 4 kB / 0.999 GB, free: 138.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04753/2.697, allocations: 9.403 MB / 1.008 GB, free: 128.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006941/2.704, allocations: 1.139 MB / 1.009 GB, free: 127.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002861/2.707, allocations: 40 kB / 1.009 GB, free: 127.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01112/2.718, allocations: 290.8 kB / 1.01 GB, free: 127.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/2.719, allocations: 109.8 kB / 1.01 GB, free: 127.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008958/2.72, allocations: 83.92 kB / 1.01 GB, free: 127.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.01399/2.734, allocations: 3.618 MB / 1.013 GB, free: 123.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.878e-06/2.734, allocations: 0 / 1.013 GB, free: 123.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01982/2.754, allocations: 2.779 MB / 1.016 GB, free: 121.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (pump.vol.dynBal.U,hea.outCon.T,val.res1.filter.x[1],val.res1.filter.x[2],val.res3.filter.x[1],val.res3.filter.x[2],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 (134): * Single equations (assignments): 125 * 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,1 6,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.03942/2.793, allocations: 10.34 MB / 1.026 GB, free: 110.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.03029/2.824, allocations: 7.869 MB / 1.034 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.729e-05/2.824, allocations: 5.031 kB / 1.034 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01084/2.835, allocations: 2.565 MB / 1.036 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02302/2.858, allocations: 2.793 MB / 1.039 GB, free: 97.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04351/2.901, allocations: 41.76 MB / 1.08 GB, free: 53.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005623/2.907, allocations: 3.376 MB / 1.083 GB, free: 50.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01287/2.92, allocations: 1.764 MB / 1.085 GB, free: 48.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01029/2.93, allocations: 2.092 MB / 1.087 GB, free: 46.23 MB / 0.7292 GB Notification: Performance of SimCode: time 1.783e-06/2.93, allocations: 0 / 1.087 GB, free: 46.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.191/4.121, allocations: 154.6 MB / 1.238 GB, free: 270.6 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/4.122, allocations: 259.5 kB / 1.238 GB, free: 270.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.807/12.93, allocations: 0 / 1.238 GB, free: 270.3 MB / 0.823 GB