Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.591/2.591, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 192.7 kB / 329.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.583/2.583, allocations: 225.6 MB / 0.6001 GB, free: 2.223 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009187/0.0009183, allocations: 91.33 kB / 0.7074 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004974, allocations: 11.69 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2085, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 1.018/1.227, allocations: 221.7 MB / 1.147 GB, free: 1.652 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03258/1.259, allocations: 14.98 MB / 1.162 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/1.263, allocations: 67.62 kB / 1.162 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004392/1.268, allocations: 0.7916 MB / 1.163 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01213/1.28, allocations: 2.866 MB / 1.166 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006775/1.287, allocations: 1.409 MB / 1.167 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01265/1.299, allocations: 6.46 MB / 1.173 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003945/1.303, allocations: 1.367 MB / 1.175 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008756/1.312, allocations: 2.218 MB / 1.177 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005076/1.317, allocations: 1.693 MB / 1.178 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008478/1.318, allocations: 88 kB / 1.178 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006984/1.325, allocations: 1.516 MB / 1.18 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001835/1.327, allocations: 0.6971 MB / 1.181 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/1.328, allocations: 452.6 kB / 1.181 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006216/1.335, allocations: 2.505 MB / 1.184 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.335, allocations: 0 / 1.184 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.426e-06/1.335, allocations: 0 / 1.184 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001105/1.335, allocations: 8 kB / 1.184 GB, free: 0.957 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.00714/1.342, allocations: 2.145 MB / 1.186 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.342, allocations: 11.97 kB / 1.186 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004781/1.347, allocations: 0.5087 MB / 1.186 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004348/1.351, allocations: 1.231 MB / 1.187 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/1.351, allocations: 182.3 kB / 1.187 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005056/1.352, allocations: 151.9 kB / 1.188 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005145/1.357, allocations: 1.753 MB / 1.189 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.269e-05/1.357, allocations: 4 kB / 1.189 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/1.358, allocations: 60 kB / 1.189 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/1.358, allocations: 62.78 kB / 1.189 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004808/1.362, allocations: 1.408 MB / 1.191 GB, free: 9.258 MB / 0.7448 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.01585/1.378, allocations: 7.672 MB / 1.198 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/1.381, allocations: 0.9575 MB / 1.199 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/1.383, allocations: 0.5622 MB / 1.2 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/1.384, allocations: 344.1 kB / 1.2 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.882e-05/1.384, allocations: 47.56 kB / 1.2 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=105): time 4.388e-06/1.384, allocations: 3.938 kB / 1.2 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of matching and sorting (n=111): time 0.01245/1.396, allocations: 3.276 MB / 1.203 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.397, allocations: 64.41 kB / 1.203 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/1.399, allocations: 1.242 MB / 1.205 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/1.399, allocations: 49.7 kB / 1.205 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008618/1.4, allocations: 0.7941 MB / 1.205 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/1.401, allocations: 406.2 kB / 1.206 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/1.401, allocations: 20 kB / 1.206 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.401, allocations: 353.9 kB / 1.206 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/1.403, allocations: 454.4 kB / 1.207 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/1.404, allocations: 0.814 MB / 1.207 GB, free: 7.277 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/1.406, allocations: 0.5651 MB / 1.208 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.406, allocations: 7.938 kB / 1.208 GB, free: 6.707 MB / 0.7605 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004357/1.411, allocations: 1.417 MB / 1.209 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002969/1.411, allocations: 333.1 kB / 1.21 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/1.411, allocations: 8 kB / 1.21 GB, free: 4.84 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.474e-05/1.411, allocations: 16 kB / 1.21 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/1.413, allocations: 299.5 kB / 1.21 GB, free: 4.531 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.459e-05/1.414, allocations: 19.92 kB / 1.21 GB, free: 4.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/1.417, allocations: 165.5 kB / 1.21 GB, free: 4.352 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/1.417, allocations: 55.98 kB / 1.21 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.417, allocations: 7.938 kB / 1.21 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00379/1.421, allocations: 1.242 MB / 1.211 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.421, allocations: 8.547 kB / 1.211 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/1.421, allocations: 20.09 kB / 1.212 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/1.423, allocations: 279.6 kB / 1.212 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.772e-05/1.423, allocations: 23.92 kB / 1.212 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/1.426, allocations: 174.1 kB / 1.212 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/1.426, allocations: 55.98 kB / 1.212 GB, free: 2.504 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.001256/1.427, allocations: 0.5046 MB / 1.213 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/1.428, allocations: 166 kB / 1.213 GB, free: 1.824 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/1.432, allocations: 1.244 MB / 1.214 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.432, allocations: 12 kB / 1.214 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.432, allocations: 0 / 1.214 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003053/1.435, allocations: 1.138 MB / 1.215 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008288/1.443, allocations: 2.898 MB / 1.218 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.443, allocations: 8 kB / 1.218 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/1.446, allocations: 267.7 kB / 1.218 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/1.446, allocations: 8.219 kB / 1.218 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/1.446, allocations: 28 kB / 1.218 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.831e-05/1.446, allocations: 15.92 kB / 1.218 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.446, allocations: 0 / 1.218 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/1.452, allocations: 1.906 MB / 1.22 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.453, allocations: 358.9 kB / 1.22 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/1.453, allocations: 27.98 kB / 1.22 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/1.456, allocations: 162.7 kB / 1.221 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/1.456, allocations: 68.84 kB / 1.221 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.456, allocations: 48.08 kB / 1.221 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001846/1.458, allocations: 0.8305 MB / 1.221 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.31e-07/1.458, allocations: 0 / 1.221 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00345/1.462, allocations: 0.7812 MB / 1.222 GB, free: 7.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * 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 (111): * Single equations (assignments): 111 * 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.0009479/1.463, allocations: 298.7 kB / 1.223 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005595/1.468, allocations: 1.785 MB / 1.224 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.468, allocations: 5.188 kB / 1.224 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/1.47, allocations: 0.5563 MB / 1.225 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009357/1.479, allocations: 0.9822 MB / 1.226 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.49, allocations: 4.468 MB / 1.23 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/1.492, allocations: 1.461 MB / 1.232 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003817/1.496, allocations: 0.5602 MB / 1.232 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/1.497, allocations: 131.4 kB / 1.232 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of SimCode: time 1.743e-06/1.497, allocations: 0 / 1.232 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of Templates: time 0.0877/1.584, allocations: 30.05 MB / 1.262 GB, free: 15.91 MB / 0.823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)