Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.61/2.61, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.842/0.8423, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.237/1.079, allocations: 198.8 MB / 1.148 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0203/1.1, allocations: 14.77 MB / 1.162 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/1.102, allocations: 63.5 kB / 1.162 GB, free: 10.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003302/1.105, allocations: 1.069 MB / 1.163 GB, free: 8.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01104/1.117, allocations: 3.52 MB / 1.167 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005497/1.122, allocations: 1.737 MB / 1.168 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008064/1.13, allocations: 3.073 MB / 1.171 GB, free: 0.625 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/1.133, allocations: 1.296 MB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00429/1.137, allocations: 1.807 MB / 1.174 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/1.139, allocations: 1.113 MB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002697/1.139, allocations: 84 kB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/1.143, allocations: 1.252 MB / 1.177 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007235/1.144, allocations: 0.6193 MB / 1.177 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007486/1.144, allocations: 444.6 kB / 1.178 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003038/1.147, allocations: 2.276 MB / 1.18 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/1.147, allocations: 0 / 1.18 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.763e-06/1.147, allocations: 3.938 kB / 1.18 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.583e-05/1.148, allocations: 0 / 1.18 GB, free: 7.676 MB / 0.9356 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.003781/1.151, allocations: 2.086 MB / 1.182 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.151, allocations: 12.03 kB / 1.182 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/1.152, allocations: 219.1 kB / 1.182 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/1.155, allocations: 0.5048 MB / 1.183 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/1.157, allocations: 1.219 MB / 1.184 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/1.157, allocations: 178.2 kB / 1.184 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/1.158, allocations: 152 kB / 1.184 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/1.16, allocations: 1.722 MB / 1.186 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/1.16, allocations: 8 kB / 1.186 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/1.16, allocations: 67.98 kB / 1.186 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/1.16, allocations: 62.62 kB / 1.186 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/1.163, allocations: 1.377 MB / 1.187 GB, free: 15.86 MB / 0.9512 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.009697/1.173, allocations: 8.206 MB / 1.196 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/1.174, allocations: 0.9236 MB / 1.196 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004275/1.175, allocations: 158.2 kB / 1.197 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/1.175, allocations: 43.56 kB / 1.197 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=96): time 2.745e-06/1.175, allocations: 0 / 1.197 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=102): time 0.007231/1.182, allocations: 3.151 MB / 1.2 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/1.182, allocations: 64.41 kB / 1.2 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.184, allocations: 1.246 MB / 1.201 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.184, allocations: 53.7 kB / 1.201 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/1.184, allocations: 0.8133 MB / 1.202 GB, free: 408 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/1.185, allocations: 366.6 kB / 1.202 GB, free: 36 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/1.185, allocations: 28 kB / 1.202 GB, free: 8 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.185, allocations: 354 kB / 1.203 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008133/1.186, allocations: 442.4 kB / 1.203 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/1.187, allocations: 0.8205 MB / 1.204 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009406/1.188, allocations: 0.5534 MB / 1.204 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.188, allocations: 0 / 1.204 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002418/1.19, allocations: 1.413 MB / 1.206 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.001194/1.191, allocations: 3.654 MB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.191, allocations: 8 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/1.191, allocations: 16 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.193, allocations: 283.6 kB / 1.21 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/1.193, allocations: 23.92 kB / 1.21 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/1.194, allocations: 185.5 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/1.194, allocations: 48 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.194, allocations: 11.88 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002061/1.197, allocations: 1.234 MB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.197, allocations: 8 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.197, allocations: 16 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.198, allocations: 284 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/1.198, allocations: 23.92 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/1.199, allocations: 179.6 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/1.199, allocations: 51.98 kB / 1.212 GB, free: 5.902 MB / 0.9669 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.0008488/1.2, allocations: 0.4967 MB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/1.201, allocations: 169.9 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/1.203, allocations: 1.174 MB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.203, allocations: 8 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.203, allocations: 4 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/1.204, allocations: 1.091 MB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004587/1.209, allocations: 2.805 MB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.209, allocations: 4.031 kB / 1.217 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/1.21, allocations: 251.7 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.21, allocations: 4 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/1.21, allocations: 31.98 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/1.21, allocations: 4 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.21, allocations: 7.953 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/1.213, allocations: 1.889 MB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/1.214, allocations: 335 kB / 1.22 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/1.214, allocations: 35.94 kB / 1.22 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.215, allocations: 133.9 kB / 1.22 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.216, allocations: 72.94 kB / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/1.216, allocations: 39.92 kB / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001068/1.217, allocations: 0.8309 MB / 1.221 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.217, allocations: 0 / 1.221 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001959/1.219, allocations: 0.7696 MB / 1.221 GB, free: 11.51 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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.003601/1.222, allocations: 3.076 MB / 1.224 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003096/1.225, allocations: 1.752 MB / 1.226 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.225, allocations: 0 / 1.226 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000855/1.226, allocations: 0.5209 MB / 1.227 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005179/1.231, allocations: 0.9518 MB / 1.228 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.252, allocations: 16.32 MB / 1.244 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.253, allocations: 1.48 MB / 1.245 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002783/1.256, allocations: 0.5641 MB / 1.246 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.257, allocations: 0.6906 MB / 1.246 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of SimCode: time 1.243e-06/1.257, allocations: 0 / 1.246 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.819/2.076, allocations: 44.41 MB / 1.29 GB, free: 260.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/2.077, allocations: 242.6 kB / 1.29 GB, free: 260 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/4.879, allocations: 0 / 1.29 GB, free: 260 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat does not exist to compare? outputFormat=mat