Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.0009705/0.0009705, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0011/0.0011, allocations: 172.7 kB / 15.95 MB, free: 192 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.647/2.647, allocations: 409.4 MB / 0.684 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 8 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.7504, allocations: 146.8 MB / 0.9811 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1889/0.9393, allocations: 171.4 MB / 1.149 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.954, allocations: 10.17 MB / 1.158 GB, free: 208 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.9556, allocations: 39.69 kB / 1.159 GB, free: 168 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.957, allocations: 349.7 kB / 1.159 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006529/0.9635, allocations: 1.971 MB / 1.161 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006056/0.9696, allocations: 1.884 MB / 1.163 GB, free: 11.96 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004573/0.9742, allocations: 3.312 MB / 1.166 GB, free: 8.645 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.9754, allocations: 0.5866 MB / 1.166 GB, free: 8.047 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.9774, allocations: 0.8911 MB / 1.167 GB, free: 7.152 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.9794, allocations: 1.02 MB / 1.168 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.9796, allocations: 44 kB / 1.168 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005267/0.9849, allocations: 2.054 MB / 1.17 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007469/0.9857, allocations: 390.8 kB / 1.171 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005447/0.9862, allocations: 233.1 kB / 1.171 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.9903, allocations: 1.976 MB / 1.173 GB, free: 1.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9903, allocations: 0 / 1.173 GB, free: 1.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9903, allocations: 0 / 1.173 GB, free: 1.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.9903, allocations: 0 / 1.173 GB, free: 1.43 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00355/0.9939, allocations: 1.484 MB / 1.174 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.9939, allocations: 8.031 kB / 1.174 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.9941, allocations: 122.5 kB / 1.174 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.9959, allocations: 298.3 kB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.9973, allocations: 0.746 MB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.9973, allocations: 53.3 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.9974, allocations: 71.92 kB / 1.176 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.9991, allocations: 0.9922 MB / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.9991, allocations: 3.938 kB / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.9992, allocations: 23.98 kB / 1.177 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.9993, allocations: 77.94 kB / 1.177 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/1.001, allocations: 1.015 MB / 1.178 GB, free: 12.43 MB / 0.9356 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.006458/1.007, allocations: 3.598 MB / 1.181 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.009, allocations: 0.6503 MB / 1.182 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/1.009, allocations: 379.8 kB / 1.182 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/1.009, allocations: 194.8 kB / 1.182 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/1.009, allocations: 43.12 kB / 1.182 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 4.368e-06/1.01, allocations: 0 / 1.182 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.002191/1.012, allocations: 1.025 MB / 1.183 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/1.012, allocations: 115.4 kB / 1.183 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.013, allocations: 0.7863 MB / 1.184 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/1.013, allocations: 41.7 kB / 1.184 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/1.013, allocations: 428 kB / 1.185 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/1.014, allocations: 216.8 kB / 1.185 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/1.014, allocations: 16 kB / 1.185 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.014, allocations: 337.9 kB / 1.185 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/1.014, allocations: 321.8 kB / 1.186 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/1.015, allocations: 464.7 kB / 1.186 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/1.016, allocations: 395.1 kB / 1.186 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.016, allocations: 0 / 1.186 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00161/1.017, allocations: 0.91 MB / 1.187 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.017, allocations: 159.6 kB / 1.187 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.017, allocations: 0 / 1.187 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/1.018, allocations: 8 kB / 1.187 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/1.018, allocations: 147.8 kB / 1.188 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.018, allocations: 4 kB / 1.188 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/1.019, allocations: 115.1 kB / 1.188 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/1.019, allocations: 35.92 kB / 1.188 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/1.019, allocations: 7.953 kB / 1.188 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001271/1.021, allocations: 0.7688 MB / 1.188 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.021, allocations: 7.938 kB / 1.188 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.934e-06/1.021, allocations: 4 kB / 1.188 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/1.021, allocations: 151.7 kB / 1.189 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.021, allocations: 4 kB / 1.189 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/1.022, allocations: 103.5 kB / 1.189 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/1.022, allocations: 28 kB / 1.189 GB, free: 0.6211 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0006137/1.023, allocations: 364.9 kB / 1.189 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/1.023, allocations: 98.83 kB / 1.189 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/1.024, allocations: 0.8141 MB / 1.19 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.024, allocations: 4 kB / 1.19 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.024, allocations: 0 / 1.19 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/1.025, allocations: 0.7439 MB / 1.191 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/1.029, allocations: 2.098 MB / 1.193 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.029, allocations: 8 kB / 1.193 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/1.029, allocations: 127.8 kB / 1.193 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/1.029, allocations: 8 kB / 1.193 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/1.029, allocations: 19.98 kB / 1.193 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.699e-06/1.029, allocations: 8 kB / 1.193 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.029, allocations: 11.89 kB / 1.193 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/1.031, allocations: 1.356 MB / 1.194 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/1.032, allocations: 259.8 kB / 1.195 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/1.032, allocations: 16 kB / 1.195 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/1.033, allocations: 55.8 kB / 1.195 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/1.033, allocations: 52.28 kB / 1.195 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/1.033, allocations: 27.98 kB / 1.195 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008208/1.034, allocations: 0.5459 MB / 1.195 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/1.034, allocations: 0 / 1.195 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002098/1.036, allocations: 0.745 MB / 1.196 GB, free: 9.043 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (64): * Single equations (assignments): 64 * 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.003725/1.04, allocations: 2.352 MB / 1.198 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002113/1.042, allocations: 1.158 MB / 1.199 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.042, allocations: 5.125 kB / 1.199 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/1.042, allocations: 370.8 kB / 1.2 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/1.045, allocations: 0.5177 MB / 1.2 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.057, allocations: 5.977 MB / 1.206 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009795/1.058, allocations: 1.081 MB / 1.207 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001666/1.06, allocations: 409.8 kB / 1.207 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005885/1.061, allocations: 335.3 kB / 1.208 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of SimCode: time 1.433e-06/1.061, allocations: 0 / 1.208 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06083/1.122, allocations: 30.3 MB / 1.237 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/1.122, allocations: 258.5 kB / 1.238 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.841, allocations: 0 / 1.238 GB, free: 14.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat does not exist to compare? outputFormat=mat