Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.748/1.748, allocations: 288.2 MB / 303.2 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 174 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 102.8 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005312/0.0005316, allocations: 16.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2834, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8909/1.174, allocations: 198.8 MB / 1.174 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0253/1.2, allocations: 14.67 MB / 1.188 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003924/1.204, allocations: 65.03 kB / 1.188 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00523/1.209, allocations: 1.062 MB / 1.189 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01566/1.225, allocations: 3.453 MB / 1.192 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006758/1.231, allocations: 1.726 MB / 1.194 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007843/1.239, allocations: 3.056 MB / 1.197 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003883/1.243, allocations: 1.3 MB / 1.198 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006534/1.25, allocations: 1.793 MB / 1.2 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/1.254, allocations: 1.112 MB / 1.201 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/1.255, allocations: 87 kB / 1.201 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006386/1.261, allocations: 1.243 MB / 1.202 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001804/1.263, allocations: 0.6136 MB / 1.203 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0026/1.266, allocations: 441 kB / 1.203 GB, free: 408 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006542/1.272, allocations: 2.277 MB / 1.206 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.272, allocations: 0 / 1.206 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.19e-06/1.272, allocations: 3.938 kB / 1.206 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001755/1.273, allocations: 2.812 kB / 1.206 GB, free: 14.89 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.006645/1.279, allocations: 2.073 MB / 1.208 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/1.279, allocations: 10.28 kB / 1.208 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007147/1.28, allocations: 221.5 kB / 1.208 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/1.283, allocations: 0.5003 MB / 1.208 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/1.287, allocations: 1.205 MB / 1.21 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/1.287, allocations: 176.1 kB / 1.21 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/1.287, allocations: 156.6 kB / 1.21 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/1.29, allocations: 1.724 MB / 1.212 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/1.29, allocations: 0 / 1.212 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/1.29, allocations: 64 kB / 1.212 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.057e-05/1.29, allocations: 62.62 kB / 1.212 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/1.293, allocations: 1.381 MB / 1.213 GB, free: 8.832 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.01177/1.305, allocations: 8.176 MB / 1.221 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.306, allocations: 0.9247 MB / 1.222 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004698/1.307, allocations: 154.2 kB / 1.222 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/1.307, allocations: 59.45 kB / 1.222 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=96): time 3.898e-06/1.307, allocations: 0 / 1.222 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=102): time 0.007883/1.315, allocations: 3.152 MB / 1.225 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/1.315, allocations: 64.41 kB / 1.225 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/1.317, allocations: 1.238 MB / 1.227 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/1.317, allocations: 49.7 kB / 1.227 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/1.318, allocations: 0.8093 MB / 1.227 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/1.318, allocations: 366.6 kB / 1.228 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/1.318, allocations: 31.94 kB / 1.228 GB, free: 9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.318, allocations: 349.9 kB / 1.228 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008287/1.319, allocations: 438.4 kB / 1.229 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/1.32, allocations: 0.8234 MB / 1.229 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009852/1.321, allocations: 0.5534 MB / 1.23 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/1.321, allocations: 7.953 kB / 1.23 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002746/1.324, allocations: 1.401 MB / 1.231 GB, free: 5.262 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001511/1.325, allocations: 3.664 MB / 1.235 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/1.325, allocations: 8 kB / 1.235 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/1.325, allocations: 16 kB / 1.235 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.327, allocations: 279.6 kB / 1.235 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.108e-05/1.327, allocations: 19.92 kB / 1.235 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/1.329, allocations: 169.8 kB / 1.235 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.783e-05/1.329, allocations: 48 kB / 1.235 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.329, allocations: 4 kB / 1.235 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002297/1.331, allocations: 1.234 MB / 1.237 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.331, allocations: 8 kB / 1.237 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/1.331, allocations: 19.95 kB / 1.237 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.333, allocations: 271.6 kB / 1.237 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.439e-05/1.333, allocations: 24.33 kB / 1.237 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/1.335, allocations: 165.2 kB / 1.237 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/1.335, allocations: 59.97 kB / 1.237 GB, free: 15.09 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (150): * Single equations (assignments): 150 * 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.00128/1.336, allocations: 0.5045 MB / 1.238 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/1.337, allocations: 162 kB / 1.238 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/1.339, allocations: 1.166 MB / 1.239 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.339, allocations: 8 kB / 1.239 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/1.339, allocations: 3.938 kB / 1.239 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00171/1.341, allocations: 1.095 MB / 1.24 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/1.347, allocations: 2.793 MB / 1.243 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/1.347, allocations: 0 / 1.243 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.348, allocations: 259.9 kB / 1.243 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/1.348, allocations: 4 kB / 1.243 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.256e-05/1.348, allocations: 31.98 kB / 1.243 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/1.348, allocations: 4 kB / 1.243 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.348, allocations: 3.938 kB / 1.243 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/1.351, allocations: 1.931 MB / 1.245 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.352, allocations: 343.1 kB / 1.245 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/1.352, allocations: 23.94 kB / 1.245 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.354, allocations: 148.8 kB / 1.245 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/1.354, allocations: 64.88 kB / 1.245 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/1.354, allocations: 39.97 kB / 1.245 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001258/1.355, allocations: 0.8266 MB / 1.246 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.4e-07/1.355, allocations: 0 / 1.246 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002436/1.358, allocations: 0.7656 MB / 1.247 GB, free: 4.676 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * 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.004324/1.362, allocations: 3.109 MB / 1.25 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003433/1.366, allocations: 1.739 MB / 1.252 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.366, allocations: 1.375 kB / 1.252 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009542/1.367, allocations: 0.5252 MB / 1.252 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00522/1.372, allocations: 0.9446 MB / 1.253 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.393, allocations: 16.24 MB / 1.269 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.394, allocations: 1.476 MB / 1.27 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002686/1.397, allocations: 0.5602 MB / 1.271 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.398, allocations: 0.675 MB / 1.272 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of SimCode: time 1.573e-06/1.398, allocations: 4 kB / 1.272 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08291/1.481, allocations: 44.38 MB / 1.315 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/1.481, allocations: 225.1 kB / 1.315 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.376/4.857, allocations: 8.062 kB / 1.315 GB, free: 14.48 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)