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.009635/0.00964, allocations: 108.7 kB / 15.06 MB, free: 5.562 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.001127/0.001127, allocations: 180.1 kB / 15.95 MB, free: 5.523 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 1.808/1.808, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.197/2.197, allocations: 236.2 MB / 492.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004674, allocations: 15.98 kB / 0.5869 GB, free: 2.242 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5393, allocations: 98.72 MB / 0.6833 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08761/0.627, allocations: 66.66 MB / 0.7484 GB, free: 11.66 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03735/0.6644, allocations: 19.56 MB / 0.7675 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/0.6682, allocations: 91.31 kB / 0.7676 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.004689/0.6729, allocations: 1.267 MB / 0.7688 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.6855, allocations: 3.135 MB / 0.7719 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01456/0.7001, allocations: 3.889 MB / 0.7757 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01579/0.7159, allocations: 8.863 MB / 0.7844 GB, free: 6.793 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00961/0.7255, allocations: 5.326 MB / 0.7896 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009198/0.7348, allocations: 4.069 MB / 0.7935 GB, free: 13.33 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006968/0.7418, allocations: 3.4 MB / 0.7969 GB, free: 9.914 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.00136/0.7432, allocations: 264 kB / 0.7971 GB, free: 9.656 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005213/0.7484, allocations: 1.229 MB / 0.7983 GB, free: 8.426 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.002328/0.7508, allocations: 1.207 MB / 0.7995 GB, free: 7.215 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.002408/0.7532, allocations: 1.132 MB / 0.8006 GB, free: 6.074 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.7643, allocations: 6.971 MB / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.572e-06/0.7644, allocations: 0 / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.11e-06/0.7644, allocations: 8 kB / 0.8074 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001737/0.7646, allocations: 0 / 0.8074 GB, free: 15.08 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.01562/0.7802, allocations: 5.514 MB / 0.8128 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.7803, allocations: 15.97 kB / 0.8128 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.7851, allocations: 0.8557 MB / 0.8136 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.7983, allocations: 4.804 MB / 0.8183 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.7986, allocations: 267.1 kB / 0.8186 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/0.7998, allocations: 355.9 kB / 0.8189 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/0.8171, allocations: 5.81 MB / 0.8246 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/0.8173, allocations: 11.88 kB / 0.8246 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/0.8185, allocations: 156 kB / 0.8248 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/0.8187, allocations: 87.98 kB / 0.8248 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02616/0.8448, allocations: 5.601 MB / 0.8303 GB, free: 7.172 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.08268/0.9276, allocations: 24.41 MB / 0.8541 GB, free: 13.63 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009931/0.9376, allocations: 3.01 MB / 0.8571 GB, free: 10.62 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01775/0.9554, allocations: 7.412 MB / 0.8643 GB, free: 2.879 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004792/0.9602, allocations: 1.976 MB / 0.8663 GB, free: 0.8945 MB / 0.6824 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00551/0.9658, allocations: 1.285 MB / 0.8675 GB, free: 15.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=162): time 8.603e-06/0.9658, allocations: 0 / 0.8675 GB, free: 15.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=162): time 0.02903/0.9948, allocations: 7.695 MB / 0.875 GB, free: 7.828 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/0.9951, allocations: 308 kB / 0.8753 GB, free: 7.461 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.01441/1.01, allocations: 5.273 MB / 0.8805 GB, free: 2.207 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008089/1.01, allocations: 69.7 kB / 0.8805 GB, free: 2.133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00538/1.016, allocations: 2.53 MB / 0.883 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.018, allocations: 0.574 MB / 0.8836 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004742/1.018, allocations: 56 kB / 0.8836 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004628/1.019, allocations: 427.5 kB / 0.884 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007787/1.026, allocations: 1.731 MB / 0.8857 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/1.036, allocations: 2.993 MB / 0.8886 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009563/1.046, allocations: 2.189 MB / 0.8908 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.654e-05/1.046, allocations: 8 kB / 0.8908 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.03074/1.077, allocations: 6.231 MB / 0.8969 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.4791/1.556, allocations: 15.57 MB / 0.9121 GB, free: 199.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002224/1.556, allocations: 38.06 kB / 0.9121 GB, free: 199.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1283/1.685, allocations: 11.87 MB / 0.9237 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007816/1.693, allocations: 0.7447 MB / 0.9244 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/1.71, allocations: 5.035 MB / 0.9294 GB, free: 196.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/1.721, allocations: 365.2 kB / 0.9297 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.722, allocations: 168.4 kB / 0.9299 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.722, allocations: 3.906 kB / 0.9299 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02311/1.745, allocations: 5.543 MB / 0.9353 GB, free: 194.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002007/1.745, allocations: 43.47 kB / 0.9353 GB, free: 194.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0956/1.841, allocations: 11.68 MB / 0.9467 GB, free: 190 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004081/1.845, allocations: 0.741 MB / 0.9475 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/1.859, allocations: 8.147 MB / 0.9554 GB, free: 183 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/1.864, allocations: 332.4 kB / 0.9557 GB, free: 182.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006063/1.865, allocations: 167.9 kB / 0.9559 GB, free: 182.5 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.003271/1.868, allocations: 1.58 MB / 0.9574 GB, free: 180.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.869, allocations: 477.6 kB / 0.9579 GB, free: 180.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/1.886, allocations: 4.952 MB / 0.9627 GB, free: 175.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/1.886, allocations: 23.98 kB / 0.9627 GB, free: 175.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.524e-06/1.886, allocations: 0 / 0.9627 GB, free: 175.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01669/1.903, allocations: 6.646 MB / 0.9692 GB, free: 168.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03269/1.936, allocations: 13.2 MB / 0.9821 GB, free: 155.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/1.936, allocations: 0 / 0.9821 GB, free: 155.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003231/1.939, allocations: 439.5 kB / 0.9825 GB, free: 155.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07561/2.015, allocations: 11.89 MB / 0.9942 GB, free: 143.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004549/2.015, allocations: 51.95 kB / 0.9942 GB, free: 143.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007591/2.023, allocations: 4.366 MB / 0.9985 GB, free: 138.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.023, allocations: 384 / 0.9985 GB, free: 138.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02269/2.045, allocations: 9.406 MB / 1.008 GB, free: 129.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00318/2.049, allocations: 1.146 MB / 1.009 GB, free: 128.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/2.05, allocations: 36 kB / 1.009 GB, free: 128.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004386/2.054, allocations: 293.8 kB / 1.009 GB, free: 128.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/2.055, allocations: 109.8 kB / 1.009 GB, free: 128 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003471/2.055, allocations: 83.92 kB / 1.009 GB, free: 127.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.006443/2.061, allocations: 3.618 MB / 1.013 GB, free: 124.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.072e-06/2.061, allocations: 0 / 1.013 GB, free: 124.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009745/2.071, allocations: 2.775 MB / 1.016 GB, free: 121.7 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.001572/2.073, allocations: 0.5736 MB / 1.016 GB, free: 121.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01995/2.093, allocations: 7.87 MB / 1.024 GB, free: 113.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/2.093, allocations: 8.719 kB / 1.024 GB, free: 113.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007222/2.1, allocations: 2.553 MB / 1.026 GB, free: 110.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/2.114, allocations: 2.795 MB / 1.029 GB, free: 108 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03668/2.151, allocations: 11.76 MB / 1.04 GB, free: 96.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006795/2.158, allocations: 3.38 MB / 1.044 GB, free: 92.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0155/2.174, allocations: 1.768 MB / 1.046 GB, free: 91.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003054/2.177, allocations: 367.2 kB / 1.046 GB, free: 90.66 MB / 0.7292 GB Notification: Performance of SimCode: time 2.305e-06/2.177, allocations: 4 kB / 1.046 GB, free: 90.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.2265/2.403, allocations: 111.1 MB / 1.154 GB, free: 12.67 MB / 0.7605 GB