Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.825/2.825, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001508/0.001508, allocations: 185.2 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001092/0.001093, allocations: 94.16 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005008, allocations: 17.66 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2182, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 1.126/1.344, allocations: 198.8 MB / 1.172 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03471/1.379, allocations: 14.67 MB / 1.187 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/1.383, allocations: 65.09 kB / 1.187 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005547/1.389, allocations: 1.068 MB / 1.188 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01592/1.405, allocations: 3.459 MB / 1.191 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.008142/1.413, allocations: 1.734 MB / 1.193 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008041/1.421, allocations: 3.047 MB / 1.196 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/1.424, allocations: 1.297 MB / 1.197 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006696/1.431, allocations: 1.793 MB / 1.199 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003623/1.435, allocations: 1.113 MB / 1.2 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008026/1.436, allocations: 85.81 kB / 1.2 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00607/1.442, allocations: 1.246 MB / 1.201 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001654/1.443, allocations: 0.6072 MB / 1.202 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001534/1.445, allocations: 447.5 kB / 1.202 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006488/1.452, allocations: 2.277 MB / 1.205 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.452, allocations: 0 / 1.205 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.947e-06/1.452, allocations: 0 / 1.205 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001356/1.452, allocations: 0 / 1.205 GB, free: 15.79 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.007404/1.459, allocations: 2.081 MB / 1.207 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.459, allocations: 14.06 kB / 1.207 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000798/1.46, allocations: 213.4 kB / 1.207 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/1.465, allocations: 0.5049 MB / 1.207 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004245/1.469, allocations: 1.204 MB / 1.208 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/1.47, allocations: 180.2 kB / 1.209 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005061/1.47, allocations: 148.6 kB / 1.209 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005834/1.476, allocations: 1.722 MB / 1.21 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-05/1.476, allocations: 0 / 1.21 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/1.476, allocations: 63.98 kB / 1.211 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/1.476, allocations: 66.69 kB / 1.211 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005258/1.482, allocations: 1.381 MB / 1.212 GB, free: 9.984 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.018/1.5, allocations: 8.178 MB / 1.22 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/1.503, allocations: 0.9406 MB / 1.221 GB, free: 160 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007817/1.504, allocations: 154.3 kB / 1.221 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.573e-05/1.504, allocations: 55.5 kB / 1.221 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=96): time 3.717e-06/1.504, allocations: 0 / 1.221 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of matching and sorting (n=102): time 0.01336/1.517, allocations: 3.144 MB / 1.224 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/1.517, allocations: 60.41 kB / 1.224 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/1.52, allocations: 1.246 MB / 1.225 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003149/1.52, allocations: 49.7 kB / 1.225 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009755/1.521, allocations: 0.8015 MB / 1.226 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006509/1.522, allocations: 374.6 kB / 1.227 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.522, allocations: 24 kB / 1.227 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.522, allocations: 357.9 kB / 1.227 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/1.524, allocations: 434.4 kB / 1.227 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/1.526, allocations: 0.8195 MB / 1.228 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/1.528, allocations: 0.5612 MB / 1.229 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/1.528, allocations: 0 / 1.229 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004777/1.533, allocations: 1.402 MB / 1.23 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001806/1.535, allocations: 3.655 MB / 1.234 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/1.535, allocations: 11.94 kB / 1.234 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-05/1.535, allocations: 20 kB / 1.234 GB, free: 2.527 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/1.537, allocations: 283.6 kB / 1.234 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.811e-05/1.537, allocations: 19.94 kB / 1.234 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/1.54, allocations: 169.1 kB / 1.234 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/1.541, allocations: 51.98 kB / 1.234 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.541, allocations: 4 kB / 1.234 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00397/1.545, allocations: 1.222 MB / 1.235 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/1.545, allocations: 12 kB / 1.235 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/1.545, allocations: 20.09 kB / 1.235 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/1.547, allocations: 279.6 kB / 1.236 GB, free: 496 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.702e-05/1.547, allocations: 19.92 kB / 1.236 GB, free: 476 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/1.55, allocations: 171.5 kB / 1.236 GB, free: 304 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/1.551, allocations: 44 kB / 1.236 GB, free: 260 kB / 0.7605 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.001461/1.552, allocations: 0.5085 MB / 1.236 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005524/1.553, allocations: 169.9 kB / 1.237 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/1.557, allocations: 1.159 MB / 1.238 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/1.557, allocations: 16 kB / 1.238 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.557, allocations: 3.984 kB / 1.238 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00317/1.56, allocations: 1.083 MB / 1.239 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009037/1.569, allocations: 2.801 MB / 1.241 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.569, allocations: 4 kB / 1.241 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/1.572, allocations: 251.7 kB / 1.242 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/1.572, allocations: 4 kB / 1.242 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.572, allocations: 28.17 kB / 1.242 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/1.572, allocations: 8 kB / 1.242 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/1.572, allocations: 11.92 kB / 1.242 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/1.578, allocations: 1.935 MB / 1.244 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.579, allocations: 335 kB / 1.244 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003575/1.579, allocations: 24 kB / 1.244 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002585/1.582, allocations: 147.6 kB / 1.244 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/1.582, allocations: 72.89 kB / 1.244 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/1.582, allocations: 35.98 kB / 1.244 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001905/1.584, allocations: 0.8227 MB / 1.245 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.81e-07/1.584, allocations: 0 / 1.245 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003652/1.588, allocations: 0.7656 MB / 1.246 GB, free: 5.828 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.006848/1.595, allocations: 3.11 MB / 1.249 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005655/1.601, allocations: 1.744 MB / 1.251 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.601, allocations: 0 / 1.251 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/1.602, allocations: 0.5291 MB / 1.251 GB, free: 392 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008623/1.611, allocations: 0.941 MB / 1.252 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03207/1.643, allocations: 16.24 MB / 1.268 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/1.645, allocations: 1.484 MB / 1.269 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003862/1.649, allocations: 0.5563 MB / 1.27 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/1.651, allocations: 0.6828 MB / 1.27 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of SimCode: time 1.914e-06/1.651, allocations: 4 kB / 1.27 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1322/1.783, allocations: 44.35 MB / 1.314 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/1.784, allocations: 217.5 kB / 1.314 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.412/6.196, allocations: 4 kB / 1.314 GB, free: 15.68 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)