Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.01008/0.01008, allocations: 88.67 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.001184/0.001184, allocations: 169.2 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.218/2.218, 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.434/2.434, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006538/0.0006539, allocations: 11.22 kB / 0.6243 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.213, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9369/1.15, allocations: 155.9 MB / 0.8803 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02216/1.172, allocations: 11 MB / 0.8911 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/1.174, allocations: 26.83 kB / 0.8911 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002312/1.176, allocations: 442 kB / 0.8915 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004972/1.181, allocations: 1.06 MB / 0.8926 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003939/1.185, allocations: 0.8495 MB / 0.8934 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003202/1.188, allocations: 1.191 MB / 0.8946 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/1.19, allocations: 0.6266 MB / 0.8952 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/1.195, allocations: 1.224 MB / 0.8964 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/1.196, allocations: 435.5 kB / 0.8968 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002338/1.196, allocations: 34.88 kB / 0.8968 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/1.198, allocations: 417.5 kB / 0.8972 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006233/1.199, allocations: 313.7 kB / 0.8975 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007211/1.2, allocations: 208.5 kB / 0.8977 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/1.202, allocations: 1.006 MB / 0.8987 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/1.202, allocations: 4 kB / 0.8987 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.564e-06/1.202, allocations: 0 / 0.8987 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.404e-05/1.202, allocations: 1 kB / 0.8987 GB, free: 20.52 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002708/1.205, allocations: 1.046 MB / 0.8997 GB, free: 19.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.205, allocations: 13.56 kB / 0.8997 GB, free: 19.85 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003071/1.205, allocations: 120.3 kB / 0.8999 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/1.207, allocations: 220.8 kB / 0.9001 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/1.209, allocations: 0.6122 MB / 0.9007 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/1.209, allocations: 62.28 kB / 0.9007 GB, free: 19.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/1.209, allocations: 86.47 kB / 0.9008 GB, free: 19.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/1.211, allocations: 0.9293 MB / 0.9017 GB, free: 19.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/1.211, allocations: 5.016 kB / 0.9017 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/1.211, allocations: 36.5 kB / 0.9018 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.44e-05/1.212, allocations: 27.38 kB / 0.9018 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/1.213, allocations: 0.613 MB / 0.9024 GB, free: 19.19 MB / 0.6823 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.006811/1.22, allocations: 4.593 MB / 0.9069 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/1.221, allocations: 0.535 MB / 0.9074 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.302e-05/1.221, allocations: 10.06 kB / 0.9074 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/1.221, allocations: 37.38 kB / 0.9074 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 3.977e-06/1.221, allocations: 0 / 0.9074 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.004208/1.225, allocations: 1.574 MB / 0.909 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/1.226, allocations: 114.2 kB / 0.9091 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.227, allocations: 0.7093 MB / 0.9098 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/1.227, allocations: 34.89 kB / 0.9098 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/1.227, allocations: 411.2 kB / 0.9102 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/1.228, allocations: 173 kB / 0.9104 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/1.228, allocations: 7.125 kB / 0.9104 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001969/1.228, allocations: 392.2 kB / 0.9107 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/1.228, allocations: 182.6 kB / 0.9109 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/1.229, allocations: 402.9 kB / 0.9113 GB, free: 14.03 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/1.232, allocations: 0.6515 MB / 0.9119 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.232, allocations: 1.594 kB / 0.9119 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001595/1.233, allocations: 0.6592 MB / 0.9126 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.233, allocations: 9.25 kB / 0.9126 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.233, allocations: 4.562 kB / 0.9126 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/1.233, allocations: 11.72 kB / 0.9126 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008967/1.234, allocations: 125.1 kB / 0.9127 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/1.234, allocations: 20.08 kB / 0.9127 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/1.235, allocations: 48.2 kB / 0.9128 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/1.236, allocations: 30.7 kB / 0.9128 GB, free: 13.82 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0006176/1.236, allocations: 286.3 kB / 0.9131 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/1.236, allocations: 80.69 kB / 0.9132 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/1.237, allocations: 87.03 kB / 0.9133 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.237, allocations: 6.312 kB / 0.9133 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.237, allocations: 0 / 0.9133 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/1.238, allocations: 0.6963 MB / 0.9139 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/1.241, allocations: 1.651 MB / 0.9155 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.242, allocations: 4.969 kB / 0.9156 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/1.242, allocations: 101.6 kB / 0.9157 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.242, allocations: 5.156 kB / 0.9157 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/1.243, allocations: 16.25 kB / 0.9157 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/1.243, allocations: 11.95 kB / 0.9157 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.243, allocations: 12.62 kB / 0.9157 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/1.244, allocations: 1.065 MB / 0.9167 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/1.245, allocations: 209.8 kB / 0.9169 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/1.245, allocations: 19.89 kB / 0.917 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/1.246, allocations: 48.19 kB / 0.917 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/1.246, allocations: 37.95 kB / 0.917 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/1.246, allocations: 24.23 kB / 0.9171 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009171/1.247, allocations: 0.5038 MB / 0.9176 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/1.247, allocations: 0 / 0.9176 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001258/1.249, allocations: 202.3 kB / 0.9177 GB, free: 11.58 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.002984/1.252, allocations: 2.808 MB / 0.9205 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001212/1.253, allocations: 471.2 kB / 0.9209 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/1.253, allocations: 2.781 kB / 0.9209 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004554/1.253, allocations: 209.2 kB / 0.9211 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/1.257, allocations: 453.9 kB / 0.9216 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/1.27, allocations: 8.986 MB / 0.9303 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008682/1.271, allocations: 1.052 MB / 0.9314 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001284/1.272, allocations: 200.9 kB / 0.9316 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006036/1.273, allocations: 297.7 kB / 0.9318 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of SimCode: time 1.193e-06/1.273, allocations: 0 / 0.9318 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.379, allocations: 21.68 MB / 0.953 GB, free: 5.746 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003393/1.379, allocations: 261.8 kB / 0.9533 GB, free: 5.391 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/4.582, allocations: 0 / 0.9533 GB, free: 5.391 MB / 0.698 GB