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.00113/0.00113, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001511/0.001511, allocations: 168.7 kB / 15.95 MB, free: 204 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.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.395 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.499/2.499, allocations: 390.4 MB / 0.6655 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/0.7428, allocations: 142.3 MB / 0.9538 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2722/1.015, allocations: 221.3 MB / 1.17 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02527/1.04, allocations: 14.94 MB / 1.185 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/1.044, allocations: 71.5 kB / 1.185 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003368/1.047, allocations: 0.788 MB / 1.185 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009651/1.057, allocations: 2.849 MB / 1.188 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004922/1.062, allocations: 1.366 MB / 1.19 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008934/1.071, allocations: 6.237 MB / 1.196 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003162/1.074, allocations: 1.276 MB / 1.197 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006112/1.08, allocations: 2.155 MB / 1.199 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/1.084, allocations: 1.654 MB / 1.201 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007572/1.085, allocations: 84 kB / 1.201 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/1.09, allocations: 1.512 MB / 1.202 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001437/1.091, allocations: 0.6737 MB / 1.203 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/1.092, allocations: 436.6 kB / 1.203 GB, free: 188 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004726/1.097, allocations: 2.443 MB / 1.206 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.097, allocations: 0 / 1.206 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.655e-06/1.097, allocations: 0 / 1.206 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001233/1.097, allocations: 4 kB / 1.206 GB, free: 13.73 MB / 0.9669 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.005095/1.102, allocations: 2.129 MB / 1.208 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.102, allocations: 8.031 kB / 1.208 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006395/1.103, allocations: 223.1 kB / 1.208 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/1.106, allocations: 0.5048 MB / 1.208 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/1.109, allocations: 1.227 MB / 1.21 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/1.109, allocations: 174.2 kB / 1.21 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003256/1.11, allocations: 148 kB / 1.21 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/1.113, allocations: 1.741 MB / 1.212 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/1.113, allocations: 0 / 1.212 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/1.113, allocations: 64 kB / 1.212 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.882e-05/1.113, allocations: 58.69 kB / 1.212 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/1.116, allocations: 1.384 MB / 1.213 GB, free: 5.871 MB / 0.9669 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.01036/1.126, allocations: 8.203 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/1.128, allocations: 0.9079 MB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009151/1.129, allocations: 0.5458 MB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/1.13, allocations: 336.3 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/1.13, allocations: 55.5 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=96): time 2.815e-06/1.13, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102): time 0.007496/1.137, allocations: 3.155 MB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/1.137, allocations: 68.34 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/1.139, allocations: 1.25 MB / 1.227 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.139, allocations: 49.7 kB / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008125/1.14, allocations: 0.8133 MB / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/1.14, allocations: 366.6 kB / 1.228 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/1.14, allocations: 24 kB / 1.228 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.141, allocations: 353.9 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008036/1.141, allocations: 438.4 kB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/1.142, allocations: 0.826 MB / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/1.143, allocations: 0.5612 MB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.143, allocations: 8 kB / 1.231 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002575/1.146, allocations: 1.405 MB / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003401/1.146, allocations: 362.2 kB / 1.232 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/1.146, allocations: 12 kB / 1.232 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/1.146, allocations: 16 kB / 1.232 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/1.148, allocations: 279.6 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/1.148, allocations: 23.89 kB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.149, allocations: 179.6 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-05/1.15, allocations: 51.94 kB / 1.233 GB, free: 476 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.15, allocations: 4 kB / 1.233 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002239/1.152, allocations: 1.234 MB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.152, allocations: 8 kB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.152, allocations: 16.09 kB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.153, allocations: 283.6 kB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/1.153, allocations: 23.92 kB / 1.234 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/1.155, allocations: 180.8 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/1.155, allocations: 51.98 kB / 1.235 GB, free: 14.68 MB / 0.9981 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.001213/1.156, allocations: 0.5045 MB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/1.157, allocations: 166 kB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/1.159, allocations: 1.174 MB / 1.236 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/1.159, allocations: 8 kB / 1.236 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.159, allocations: 0 / 1.236 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001901/1.161, allocations: 1.095 MB / 1.237 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/1.166, allocations: 2.801 MB / 1.24 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/1.166, allocations: 0 / 1.24 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.168, allocations: 248 kB / 1.24 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/1.168, allocations: 8 kB / 1.24 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.168e-05/1.168, allocations: 31.98 kB / 1.24 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.866e-05/1.168, allocations: 15.89 kB / 1.24 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.168, allocations: 0 / 1.24 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/1.171, allocations: 1.785 MB / 1.242 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007614/1.171, allocations: 339 kB / 1.243 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.172, allocations: 23.98 kB / 1.243 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.173, allocations: 141.9 kB / 1.243 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.173, allocations: 68.86 kB / 1.243 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/1.173, allocations: 39.98 kB / 1.243 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001194/1.174, allocations: 0.8309 MB / 1.244 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.174, allocations: 192 / 1.244 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002409/1.177, allocations: 0.7656 MB / 1.244 GB, free: 4.441 MB / 0.9981 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.003578/1.18, allocations: 2.525 MB / 1.247 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003072/1.183, allocations: 1.744 MB / 1.249 GB, free: 144 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.183, allocations: 0 / 1.249 GB, free: 144 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.5303/1.714, allocations: 0.5181 MB / 1.249 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005382/1.719, allocations: 0.9741 MB / 1.25 GB, free: 283.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/1.742, allocations: 10.37 MB / 1.26 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.743, allocations: 1.441 MB / 1.262 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003037/1.746, allocations: 0.5644 MB / 1.262 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.747, allocations: 0.6871 MB / 1.263 GB, free: 277.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.563e-06/1.747, allocations: 0 / 1.263 GB, free: 277.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08364/1.831, allocations: 44.46 MB / 1.306 GB, free: 245.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/1.831, allocations: 229.2 kB / 1.306 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/4.855, allocations: 0 / 1.306 GB, free: 245.2 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