Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01012/0.01013, allocations: 88.92 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001276/0.001276, allocations: 171.6 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.303/2.303, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.33/2.33, allocations: 252.8 MB / 0.511 GB, free: 8.367 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007292/0.0007295, allocations: 16 kB / 0.6243 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2244, allocations: 106.2 MB / 0.7281 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.1118/0.3362, allocations: 67.47 MB / 0.7939 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0451/0.3814, allocations: 19.6 MB / 0.8131 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004847/0.3863, allocations: 83.31 kB / 0.8132 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006694/0.393, allocations: 1.283 MB / 0.8144 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01433/0.4074, allocations: 3.135 MB / 0.8175 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01712/0.4246, allocations: 3.889 MB / 0.8213 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01961/0.4442, allocations: 8.883 MB / 0.8299 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.4559, allocations: 5.346 MB / 0.8352 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01145/0.4674, allocations: 4.088 MB / 0.8392 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009193/0.4766, allocations: 3.4 MB / 0.8425 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002303/0.479, allocations: 260 kB / 0.8427 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007645/0.4867, allocations: 1.217 MB / 0.8439 GB, free: 3.246 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003714/0.4905, allocations: 1.218 MB / 0.8451 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.4939, allocations: 1.139 MB / 0.8462 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.6425/1.136, allocations: 6.971 MB / 0.853 GB, free: 29.05 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.136, allocations: 0 / 0.853 GB, free: 29.05 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.805e-06/1.136, allocations: 0 / 0.853 GB, free: 29.05 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004018/1.137, allocations: 0 / 0.853 GB, free: 29.05 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.02392/1.161, allocations: 5.527 MB / 0.8584 GB, free: 26.58 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.161, allocations: 11.56 kB / 0.8584 GB, free: 26.58 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00333/1.164, allocations: 484.5 kB / 0.8589 GB, free: 26.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007894/1.172, allocations: 0.854 MB / 0.8597 GB, free: 26.21 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0214/1.194, allocations: 4.777 MB / 0.8644 GB, free: 25.46 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/1.195, allocations: 270.2 kB / 0.8647 GB, free: 25.46 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004113/1.199, allocations: 362.5 kB / 0.865 GB, free: 25.45 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/1.226, allocations: 5.824 MB / 0.8707 GB, free: 24.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002364/1.226, allocations: 12.34 kB / 0.8707 GB, free: 24.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002543/1.229, allocations: 147 kB / 0.8708 GB, free: 24.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/1.229, allocations: 84.41 kB / 0.8709 GB, free: 24.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02148/1.25, allocations: 5.611 MB / 0.8764 GB, free: 24.67 MB / 0.6667 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.06582/1.316, allocations: 24.42 MB / 0.9002 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009733/1.326, allocations: 3.009 MB / 0.9032 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02242/1.348, allocations: 7.421 MB / 0.9104 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00585/1.354, allocations: 1.97 MB / 0.9124 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008168/1.363, allocations: 1.283 MB / 0.9136 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=163): time 1.565e-05/1.363, allocations: 0 / 0.9136 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of matching and sorting (n=163): time 0.03924/1.402, allocations: 7.721 MB / 0.9211 GB, free: 4.738 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.402, allocations: 304.2 kB / 0.9214 GB, free: 4.395 MB / 0.6667 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.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 7.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 7.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 7.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.01237/1.414, allocations: 5.278 MB / 0.9266 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.416, allocations: 71.67 kB / 0.9267 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.003424/1.419, allocations: 2.523 MB / 0.9291 GB, free: 2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001459/1.42, allocations: 0.5863 MB / 0.9297 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/1.421, allocations: 53.19 kB / 0.9297 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001994/1.421, allocations: 419.4 kB / 0.9301 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005107/1.426, allocations: 1.735 MB / 0.9318 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006642/1.433, allocations: 2.992 MB / 0.9348 GB, free: 15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006695/1.44, allocations: 2.195 MB / 0.9369 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.963e-05/1.44, allocations: 8 kB / 0.9369 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.02285/1.463, allocations: 6.224 MB / 0.943 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.006627/1.469, allocations: 15.54 MB / 0.9582 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001893/1.47, allocations: 42.41 kB / 0.9582 GB, free: 8.984 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1531/1.623, allocations: 11.87 MB / 0.9698 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00967/1.632, allocations: 0.7512 MB / 0.9705 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02336/1.656, allocations: 5.024 MB / 0.9754 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01347/1.669, allocations: 362.2 kB / 0.9758 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/1.671, allocations: 172.8 kB / 0.9759 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.671, allocations: 4 kB / 0.976 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0235/1.695, allocations: 5.559 MB / 0.9814 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/1.695, allocations: 36 kB / 0.9814 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1421/1.837, allocations: 11.69 MB / 0.9928 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006151/1.843, allocations: 0.7422 MB / 0.9936 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/1.864, allocations: 8.126 MB / 1.001 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008305/1.872, allocations: 339.9 kB / 1.002 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.874, allocations: 163.9 kB / 1.002 GB, free: 248 kB / 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.005915/1.88, allocations: 1.587 MB / 1.004 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/1.882, allocations: 474.1 kB / 1.004 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01764/1.899, allocations: 4.966 MB / 1.009 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/1.899, allocations: 16 kB / 1.009 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/1.899, allocations: 0.875 kB / 1.009 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03871/1.938, allocations: 7.157 MB / 1.016 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06412/2.002, allocations: 13.48 MB / 1.029 GB, free: 4.391 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/2.002, allocations: 0 / 1.029 GB, free: 4.391 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005223/2.008, allocations: 441.7 kB / 1.029 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1397/2.147, allocations: 11.9 MB / 1.041 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007888/2.148, allocations: 50.16 kB / 1.041 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/2.16, allocations: 4.367 MB / 1.045 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/2.16, allocations: 7.281 kB / 1.045 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04785/2.208, allocations: 9.93 MB / 1.055 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005449/2.214, allocations: 1.147 MB / 1.056 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002128/2.216, allocations: 43.94 kB / 1.056 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007872/2.224, allocations: 295.1 kB / 1.056 GB, free: 8.188 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/2.225, allocations: 116.1 kB / 1.057 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005537/2.225, allocations: 83.92 kB / 1.057 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.01196/2.237, allocations: 3.618 MB / 1.06 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.61e-07/2.238, allocations: 0 / 1.06 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01822/2.256, allocations: 2.783 MB / 1.063 GB, free: 1.609 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (135): * Single equations (assignments): 126 * 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.05302/2.309, allocations: 10.93 MB / 1.074 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.03336/2.342, allocations: 7.882 MB / 1.081 GB, free: 14.95 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.016e-05/2.342, allocations: 5 kB / 1.081 GB, free: 14.95 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.012/2.354, allocations: 2.551 MB / 1.084 GB, free: 12.43 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02927/2.384, allocations: 2.796 MB / 1.087 GB, free: 9.656 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06002/2.444, allocations: 41.71 MB / 1.127 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0066/2.45, allocations: 3.379 MB / 1.131 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01188/2.462, allocations: 1.76 MB / 1.132 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006876/2.469, allocations: 2.084 MB / 1.134 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of SimCode: time 2.134e-06/2.469, allocations: 0 / 1.134 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.005/3.475, allocations: 154.1 MB / 1.285 GB, free: 282.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/3.475, allocations: 270 kB / 1.285 GB, free: 281.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/11.99, allocations: 0 / 1.285 GB, free: 281.8 MB / 0.9167 GB