Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.01363/0.01364, allocations: 88.36 kB / 15.04 MB, free: 5.582 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.001744/0.001744, allocations: 173.8 kB / 15.92 MB, free: 5.555 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.278/2.278, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.539/2.539, allocations: 252.8 MB / 0.511 GB, free: 8.383 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006393/0.0006393, allocations: 11.28 kB / 0.6243 GB, free: 28.26 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2391, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.132/1.371, allocations: 205.9 MB / 0.9291 GB, free: 2.273 MB / 0.6668 GB Notification: Performance of NFInst.instExpressions: time 0.03461/1.405, allocations: 18.91 MB / 0.9476 GB, free: 8.523 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/1.408, allocations: 45.16 kB / 0.9476 GB, free: 8.523 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.003329/1.412, allocations: 0.5929 MB / 0.9482 GB, free: 8.133 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.006983/1.419, allocations: 1.485 MB / 0.9497 GB, free: 6.961 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.007042/1.426, allocations: 1.506 MB / 0.9511 GB, free: 5.906 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.005344/1.431, allocations: 1.769 MB / 0.9529 GB, free: 4.832 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/1.433, allocations: 0.9315 MB / 0.9538 GB, free: 4.297 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/1.437, allocations: 0.926 MB / 0.9547 GB, free: 3.863 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/1.438, allocations: 0.575 MB / 0.9552 GB, free: 3.676 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/1.438, allocations: 32.56 kB / 0.9553 GB, free: 3.676 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/1.442, allocations: 0.8124 MB / 0.9561 GB, free: 3.359 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0007718/1.443, allocations: 264.5 kB / 0.9563 GB, free: 3.234 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0006456/1.444, allocations: 260.2 kB / 0.9566 GB, free: 3.121 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.003402/1.447, allocations: 1.49 MB / 0.958 GB, free: 2.086 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.447, allocations: 0 / 0.958 GB, free: 2.086 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.555e-06/1.447, allocations: 0 / 0.958 GB, free: 2.086 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 2.02e-05/1.447, allocations: 4 kB / 0.958 GB, free: 2.082 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00255/1.45, allocations: 1.226 MB / 0.9592 GB, free: 1.105 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.45, allocations: 9.094 kB / 0.9592 GB, free: 1.105 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002339/1.45, allocations: 151.9 kB / 0.9594 GB, free: 0.9805 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/1.451, allocations: 230.8 kB / 0.9596 GB, free: 0.875 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/1.453, allocations: 0.8226 MB / 0.9604 GB, free: 232 kB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/1.454, allocations: 187.7 kB / 0.9606 GB, free: 68 kB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/1.454, allocations: 91.12 kB / 0.9607 GB, free: 40 kB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/1.456, allocations: 0.918 MB / 0.9616 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/1.456, allocations: 3.984 kB / 0.9616 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.456, allocations: 39.83 kB / 0.9616 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/1.456, allocations: 21.81 kB / 0.9616 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/1.458, allocations: 0.6173 MB / 0.9622 GB, free: 15.13 MB / 0.698 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.00709/1.465, allocations: 4.44 MB / 0.9666 GB, free: 11.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/1.466, allocations: 180.6 kB / 0.9667 GB, free: 11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007925/1.467, allocations: 0.6701 MB / 0.9674 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.467, allocations: 38.56 kB / 0.9674 GB, free: 10.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 2.785e-06/1.467, allocations: 0 / 0.9674 GB, free: 10.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.001647/1.468, allocations: 456.6 kB / 0.9679 GB, free: 9.945 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/1.468, allocations: 54.25 kB / 0.9679 GB, free: 9.883 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/1.471, allocations: 1.099 MB / 0.969 GB, free: 9.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/1.471, allocations: 36.14 kB / 0.969 GB, free: 9.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000581/1.471, allocations: 0.5058 MB / 0.9695 GB, free: 8.785 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/1.471, allocations: 93.7 kB / 0.9696 GB, free: 8.703 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/1.471, allocations: 10.81 kB / 0.9696 GB, free: 8.695 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.472, allocations: 323.5 kB / 0.9699 GB, free: 8.379 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/1.472, allocations: 121.2 kB / 0.97 GB, free: 8.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/1.473, allocations: 398.1 kB / 0.9704 GB, free: 7.902 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/1.473, allocations: 184.8 kB / 0.9706 GB, free: 7.812 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/1.473, allocations: 3.156 kB / 0.9706 GB, free: 7.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001539/1.475, allocations: 0.5415 MB / 0.9711 GB, free: 7.559 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.475, allocations: 7.938 kB / 0.9711 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.475, allocations: 8.812 kB / 0.9711 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/1.475, allocations: 10.91 kB / 0.9712 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/1.476, allocations: 88.02 kB / 0.9712 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/1.476, allocations: 11.56 kB / 0.9712 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.477, allocations: 126.6 kB / 0.9714 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.704e-05/1.477, allocations: 34.39 kB / 0.9714 GB, free: 7.461 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006677/1.478, allocations: 293 kB / 0.9717 GB, free: 7.242 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/1.478, allocations: 102.4 kB / 0.9718 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/1.479, allocations: 425.2 kB / 0.9722 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.479, allocations: 2.625 kB / 0.9722 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.479, allocations: 0 / 0.9722 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.479, allocations: 2.625 kB / 0.9722 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/1.483, allocations: 1.513 MB / 0.9737 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/1.483, allocations: 7.203 kB / 0.9737 GB, free: 5.785 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/1.483, allocations: 41.38 kB / 0.9737 GB, free: 5.777 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/1.483, allocations: 9.219 kB / 0.9737 GB, free: 5.777 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/1.483, allocations: 9.844 kB / 0.9737 GB, free: 5.773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/1.483, allocations: 10.28 kB / 0.9737 GB, free: 5.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.483, allocations: 8.812 kB / 0.9737 GB, free: 5.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/1.484, allocations: 0.7892 MB / 0.9745 GB, free: 4.992 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/1.485, allocations: 244.3 kB / 0.9748 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/1.485, allocations: 15.92 kB / 0.9748 GB, free: 4.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008449/1.486, allocations: 31.89 kB / 0.9748 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/1.486, allocations: 34.45 kB / 0.9748 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/1.486, allocations: 16 kB / 0.9748 GB, free: 4.664 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001703/1.488, allocations: 0.7625 MB / 0.9756 GB, free: 3.895 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.488, allocations: 0 / 0.9756 GB, free: 3.895 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001413/1.489, allocations: 283.5 kB / 0.9759 GB, free: 3.617 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002627/1.492, allocations: 2.744 MB / 0.9785 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.493, allocations: 324.4 kB / 0.9788 GB, free: 444 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.493, allocations: 448 / 0.9788 GB, free: 444 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/1.494, allocations: 135.8 kB / 0.979 GB, free: 308 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/1.498, allocations: 480.9 kB / 0.9794 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.513, allocations: 10.14 MB / 0.9893 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009003/1.514, allocations: 1.083 MB / 0.9904 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001347/1.515, allocations: 195 kB / 0.9906 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007638/1.516, allocations: 363.3 kB / 0.9909 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/1.516, allocations: 4 kB / 0.9909 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07917/1.595, allocations: 26.25 MB / 1.017 GB, free: 9.691 MB / 0.7449 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003611/1.596, allocations: 244.1 kB / 1.017 GB, free: 9.445 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.537/5.133, allocations: 0 / 1.017 GB, free: 9.445 MB / 0.7449 GB