Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.63/1.63, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 175.9 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 0.578 GB, free: 20.06 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007857/0.0007857, allocations: 100.5 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003958, allocations: 13.25 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2764, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.9179/1.194, allocations: 237.6 MB / 1.133 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02635/1.221, allocations: 15.96 MB / 1.149 GB, free: 456 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004496/1.225, allocations: 72.16 kB / 1.149 GB, free: 452 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0039/1.229, allocations: 1.021 MB / 1.15 GB, free: 428 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01473/1.244, allocations: 3.614 MB / 1.153 GB, free: 224 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008068/1.252, allocations: 1.679 MB / 1.155 GB, free: 172 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01437/1.266, allocations: 7.665 MB / 1.162 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003845/1.27, allocations: 1.425 MB / 1.164 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008144/1.279, allocations: 2.41 MB / 1.166 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005922/1.285, allocations: 1.765 MB / 1.168 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006578/1.285, allocations: 93.53 kB / 1.168 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009006/1.294, allocations: 3.133 MB / 1.171 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00177/1.296, allocations: 0.6997 MB / 1.172 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002917/1.299, allocations: 1.088 MB / 1.173 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00955/1.309, allocations: 3.677 MB / 1.176 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.309, allocations: 0 / 1.176 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.595e-06/1.309, allocations: 0 / 1.176 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001027/1.309, allocations: 2.969 kB / 1.176 GB, free: 8.309 MB / 0.7136 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.006343/1.315, allocations: 2.139 MB / 1.178 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/1.315, allocations: 13.78 kB / 1.178 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005871/1.316, allocations: 224.8 kB / 1.179 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003587/1.319, allocations: 0.5121 MB / 1.179 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/1.323, allocations: 1.289 MB / 1.18 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/1.323, allocations: 179.6 kB / 1.18 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/1.324, allocations: 154 kB / 1.181 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/1.327, allocations: 1.749 MB / 1.182 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/1.327, allocations: 9.094 kB / 1.182 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/1.327, allocations: 59.31 kB / 1.182 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/1.328, allocations: 67.66 kB / 1.182 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/1.331, allocations: 1.421 MB / 1.184 GB, free: 3.273 MB / 0.7136 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.01195/1.342, allocations: 7.65 MB / 1.191 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/1.344, allocations: 0.974 MB / 1.192 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009354/1.345, allocations: 0.5654 MB / 1.193 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/1.346, allocations: 335.8 kB / 1.193 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/1.346, allocations: 47.56 kB / 1.193 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 2.846e-06/1.346, allocations: 0 / 1.193 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111): time 0.00835/1.354, allocations: 3.283 MB / 1.196 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/1.354, allocations: 67.03 kB / 1.196 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/1.357, allocations: 1.257 MB / 1.198 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002431/1.357, allocations: 49.7 kB / 1.198 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008705/1.358, allocations: 0.7977 MB / 1.199 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004667/1.358, allocations: 391.9 kB / 1.199 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/1.358, allocations: 28 kB / 1.199 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002102/1.359, allocations: 353.9 kB / 1.199 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009844/1.36, allocations: 466.4 kB / 1.2 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.361, allocations: 0.8231 MB / 1.2 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/1.363, allocations: 1.272 MB / 1.202 GB, free: 104 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.363, allocations: 0 / 1.202 GB, free: 104 kB / 0.7292 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003047/1.366, allocations: 1.44 MB / 1.203 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003503/1.366, allocations: 327.6 kB / 1.203 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.366, allocations: 8 kB / 1.203 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.602e-05/1.366, allocations: 19.94 kB / 1.203 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.368, allocations: 287.5 kB / 1.204 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/1.368, allocations: 19.94 kB / 1.204 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.37, allocations: 185.8 kB / 1.204 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.37, allocations: 48 kB / 1.204 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/1.37, allocations: 4 kB / 1.204 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002529/1.372, allocations: 1.257 MB / 1.205 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.372, allocations: 8 kB / 1.205 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.372, allocations: 15.94 kB / 1.205 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.374, allocations: 296.3 kB / 1.206 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/1.374, allocations: 15.94 kB / 1.206 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/1.376, allocations: 172.2 kB / 1.206 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.376, allocations: 52 kB / 1.206 GB, free: 11.91 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001178/1.377, allocations: 0.5084 MB / 1.206 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/1.378, allocations: 166 kB / 1.206 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/1.38, allocations: 1.24 MB / 1.208 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/1.38, allocations: 12 kB / 1.208 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.38, allocations: 0 / 1.208 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001817/1.382, allocations: 1.138 MB / 1.209 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005358/1.387, allocations: 2.91 MB / 1.212 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.387, allocations: 4.062 kB / 1.212 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.389, allocations: 267.7 kB / 1.212 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.389, allocations: 8 kB / 1.212 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/1.389, allocations: 35.98 kB / 1.212 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/1.389, allocations: 7.938 kB / 1.212 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.83e-06/1.389, allocations: 4 kB / 1.212 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/1.392, allocations: 1.914 MB / 1.214 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009774/1.393, allocations: 362.9 kB / 1.214 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.393, allocations: 27.98 kB / 1.214 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.395, allocations: 155.2 kB / 1.214 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.395, allocations: 76.83 kB / 1.214 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/1.395, allocations: 39.98 kB / 1.214 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001259/1.396, allocations: 0.8461 MB / 1.215 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.396, allocations: 0 / 1.215 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002388/1.399, allocations: 0.789 MB / 1.216 GB, free: 1.238 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004228/1.403, allocations: 2.647 MB / 1.219 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003462/1.406, allocations: 1.805 MB / 1.22 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.406, allocations: 5.125 kB / 1.22 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009638/1.407, allocations: 0.5602 MB / 1.221 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005189/1.413, allocations: 0.9719 MB / 1.222 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/1.435, allocations: 14.27 MB / 1.236 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.436, allocations: 1.457 MB / 1.237 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002485/1.439, allocations: 0.568 MB / 1.238 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009864/1.44, allocations: 0.6985 MB / 1.238 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/1.44, allocations: 0 / 1.238 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08391/1.524, allocations: 44.22 MB / 1.282 GB, free: 13.69 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/1.524, allocations: 255.2 kB / 1.282 GB, free: 13.44 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.063/5.588, allocations: 0 / 1.282 GB, free: 13.44 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)