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.01273/0.01274, allocations: 219.6 kB / 15.17 MB, free: 5.922 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.001257/0.001256, allocations: 178.5 kB / 16.06 MB, free: 5.832 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 3.639/3.639, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.353/4.353, allocations: 472.3 MB / 0.9017 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000605/0.0006053, allocations: 12.22 kB / 1.008 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6921/0.6928, allocations: 98.71 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.09993/0.7928, allocations: 73.58 MB / 1.176 GB, free: 161.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03964/0.8325, allocations: 20.68 MB / 1.196 GB, free: 144.1 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004465/0.837, allocations: 91.31 kB / 1.196 GB, free: 144.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005654/0.8427, allocations: 1.133 MB / 1.197 GB, free: 142.9 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01327/0.856, allocations: 3.301 MB / 1.201 GB, free: 139.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01559/0.8716, allocations: 3.939 MB / 1.204 GB, free: 135.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02084/0.8925, allocations: 17.4 MB / 1.221 GB, free: 118.4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009826/0.9024, allocations: 5.164 MB / 1.226 GB, free: 113.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/0.9131, allocations: 4.455 MB / 1.231 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.9236, allocations: 4.581 MB / 1.235 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.002231/0.9259, allocations: 260 kB / 1.236 GB, free: 104 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007248/0.9331, allocations: 1.326 MB / 1.237 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003153/0.9363, allocations: 1.214 MB / 1.238 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002971/0.9394, allocations: 1.108 MB / 1.239 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.9504, allocations: 6.874 MB / 1.246 GB, free: 93.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.9505, allocations: 4 kB / 1.246 GB, free: 93.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.236e-06/0.9505, allocations: 0 / 1.246 GB, free: 93.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003017/0.9508, allocations: 0 / 1.246 GB, free: 93.48 MB / 0.7292 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.01707/0.9679, allocations: 5.408 MB / 1.251 GB, free: 87.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.968, allocations: 8.031 kB / 1.251 GB, free: 87.98 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001956/0.9699, allocations: 471.3 kB / 1.252 GB, free: 87.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005862/0.9758, allocations: 0.8363 MB / 1.252 GB, free: 86.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.9907, allocations: 5.049 MB / 1.257 GB, free: 81.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.9911, allocations: 267 kB / 1.258 GB, free: 81.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.9924, allocations: 339.9 kB / 1.258 GB, free: 80.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/1.007, allocations: 5.719 MB / 1.263 GB, free: 74.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.731e-05/1.008, allocations: 11.88 kB / 1.263 GB, free: 74.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007234/1.008, allocations: 148 kB / 1.264 GB, free: 74.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/1.008, allocations: 84 kB / 1.264 GB, free: 74.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/1.023, allocations: 5.546 MB / 1.269 GB, free: 69.18 MB / 0.7292 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.04812/1.071, allocations: 24 MB / 1.293 GB, free: 44.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007832/1.079, allocations: 2.794 MB / 1.295 GB, free: 41.31 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0047/1.084, allocations: 1.917 MB / 1.297 GB, free: 39.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01923/1.103, allocations: 7.136 MB / 1.304 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00506/1.108, allocations: 1.945 MB / 1.306 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006705/1.115, allocations: 1.247 MB / 1.307 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=154): time 1.244e-05/1.115, allocations: 4 kB / 1.307 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=154): time 0.03618/1.151, allocations: 7.625 MB / 1.315 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/1.151, allocations: 149.8 kB / 1.315 GB, free: 20.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009782/1.161, allocations: 4.844 MB / 1.32 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006783/1.162, allocations: 65.69 kB / 1.32 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002852/1.165, allocations: 2.459 MB / 1.322 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.166, allocations: 0.5432 MB / 1.323 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/1.166, allocations: 52 kB / 1.323 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.166, allocations: 415.4 kB / 1.323 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004379/1.171, allocations: 1.66 MB / 1.325 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005113/1.176, allocations: 2.882 MB / 1.327 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005361/1.181, allocations: 2.111 MB / 1.329 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/1.181, allocations: 12 kB / 1.329 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01796/1.199, allocations: 6.03 MB / 1.335 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009953/1.2, allocations: 1.1 MB / 1.336 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-05/1.201, allocations: 35.98 kB / 1.336 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.145/1.346, allocations: 11.88 MB / 1.348 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005379/1.351, allocations: 0.6591 MB / 1.349 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.366, allocations: 5.033 MB / 1.354 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00753/1.373, allocations: 347.7 kB / 1.354 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008144/1.374, allocations: 163.9 kB / 1.354 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.374, allocations: 4 kB / 1.354 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01559/1.39, allocations: 5.372 MB / 1.359 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.28e-05/1.39, allocations: 32 kB / 1.359 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7066/2.096, allocations: 11.67 MB / 1.371 GB, free: 219.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005044/2.102, allocations: 0.6544 MB / 1.371 GB, free: 219.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/2.12, allocations: 8.068 MB / 1.379 GB, free: 215.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007208/2.128, allocations: 324.9 kB / 1.38 GB, free: 215.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009911/2.129, allocations: 161.1 kB / 1.38 GB, free: 215.2 MB / 0.7605 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 (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.00449/2.133, allocations: 1.553 MB / 1.381 GB, free: 214.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/2.135, allocations: 456.2 kB / 1.382 GB, free: 214.6 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/2.15, allocations: 4.852 MB / 1.386 GB, free: 212.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.484e-05/2.15, allocations: 17.02 kB / 1.387 GB, free: 212.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/2.15, allocations: 0.7031 kB / 1.387 GB, free: 212.9 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02182/2.172, allocations: 6.43 MB / 1.393 GB, free: 209.9 MB / 0.7605 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 postOpt removeSimpleEquations (simulation): time 0.05329/2.225, allocations: 13.02 MB / 1.405 GB, free: 205 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/2.225, allocations: 0 / 1.405 GB, free: 205 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004328/2.229, allocations: 371.2 kB / 1.406 GB, free: 204.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1389/2.368, allocations: 11.89 MB / 1.417 GB, free: 202.7 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005524/2.369, allocations: 42.56 kB / 1.418 GB, free: 202.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/2.38, allocations: 4.383 MB / 1.422 GB, free: 199.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/2.38, allocations: 3.875 kB / 1.422 GB, free: 199.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03155/2.411, allocations: 9.214 MB / 1.431 GB, free: 190.8 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004289/2.416, allocations: 1.061 MB / 1.432 GB, free: 189.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001748/2.417, allocations: 39.94 kB / 1.432 GB, free: 189.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006705/2.424, allocations: 282.7 kB / 1.432 GB, free: 189.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007386/2.425, allocations: 101.2 kB / 1.432 GB, free: 189.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004275/2.425, allocations: 83.92 kB / 1.432 GB, free: 189.2 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.007915/2.433, allocations: 3.302 MB / 1.436 GB, free: 185.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.062e-06/2.433, allocations: 3.375 kB / 1.436 GB, free: 185.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01675/2.45, allocations: 2.707 MB / 1.438 GB, free: 183.4 MB / 0.7605 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 (126): * Single equations (assignments): 117 * 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.04597/2.496, allocations: 10.11 MB / 1.448 GB, free: 173.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.03352/2.53, allocations: 7.565 MB / 1.455 GB, free: 165.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/2.53, allocations: 4.719 kB / 1.455 GB, free: 165.7 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01003/2.54, allocations: 2.51 MB / 1.458 GB, free: 163.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02275/2.563, allocations: 2.779 MB / 1.461 GB, free: 160.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1219/2.685, allocations: 40.68 MB / 1.5 GB, free: 117.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003503/2.688, allocations: 3.299 MB / 1.504 GB, free: 113.9 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.009411/2.698, allocations: 1.691 MB / 1.505 GB, free: 112.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004692/2.702, allocations: 2.011 MB / 1.507 GB, free: 110.3 MB / 0.7605 GB Notification: Performance of SimCode: time 1.322e-06/2.702, allocations: 0 / 1.507 GB, free: 110.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3281/3.031, allocations: 151.9 MB / 1.656 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003474/3.031, allocations: 267.4 kB / 1.656 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/11.26, allocations: 4 kB / 1.656 GB, free: 8.555 MB / 0.8073 GB