Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001004/0.001004, allocations: 90.83 kB / 15.06 MB, free: 1.094 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.001311/0.001311, allocations: 172.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.447/1.447, allocations: 223.2 MB / 240 MB, free: 5.434 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.429/2.429, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8226, allocations: 142.3 MB / 0.9538 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2287/1.051, allocations: 191.1 MB / 1.14 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01586/1.067, allocations: 9.258 MB / 1.15 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/1.07, allocations: 55.62 kB / 1.15 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/1.072, allocations: 0.5279 MB / 1.15 GB, free: 6.633 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006514/1.078, allocations: 2.053 MB / 1.152 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003502/1.082, allocations: 0.99 MB / 1.153 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006722/1.089, allocations: 4.743 MB / 1.158 GB, free: 14.83 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/1.091, allocations: 0.9573 MB / 1.159 GB, free: 13.86 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/1.093, allocations: 1.148 MB / 1.16 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/1.096, allocations: 1.164 MB / 1.161 GB, free: 11.54 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/1.096, allocations: 56 kB / 1.161 GB, free: 11.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004248/1.1, allocations: 1.165 MB / 1.162 GB, free: 10.31 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007545/1.101, allocations: 0.5102 MB / 1.163 GB, free: 9.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007176/1.102, allocations: 337 kB / 1.163 GB, free: 9.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003562/1.106, allocations: 2.042 MB / 1.165 GB, free: 7.418 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/1.106, allocations: 0 / 1.165 GB, free: 7.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.174e-06/1.106, allocations: 0 / 1.165 GB, free: 7.418 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.988e-05/1.106, allocations: 0 / 1.165 GB, free: 7.418 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003962/1.11, allocations: 1.6 MB / 1.166 GB, free: 5.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/1.11, allocations: 12.03 kB / 1.166 GB, free: 5.75 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004051/1.11, allocations: 176.8 kB / 1.167 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/1.113, allocations: 497.5 kB / 1.167 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/1.116, allocations: 1.023 MB / 1.168 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/1.116, allocations: 82.14 kB / 1.168 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/1.116, allocations: 112 kB / 1.168 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/1.118, allocations: 1.153 MB / 1.169 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/1.118, allocations: 0 / 1.169 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/1.118, allocations: 44 kB / 1.169 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-05/1.118, allocations: 46.08 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/1.12, allocations: 1.066 MB / 1.171 GB, free: 1.469 MB / 0.92 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.006267/1.126, allocations: 4.214 MB / 1.175 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/1.128, allocations: 0.7972 MB / 1.175 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006192/1.128, allocations: 478.2 kB / 1.176 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003944/1.129, allocations: 296.3 kB / 1.176 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.129, allocations: 43.56 kB / 1.176 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 2.635e-06/1.129, allocations: 0 / 1.176 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=89): time 0.005626/1.134, allocations: 2.833 MB / 1.179 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.134, allocations: 72.39 kB / 1.179 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/1.136, allocations: 0.9637 MB / 1.18 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.408e-05/1.136, allocations: 45.7 kB / 1.18 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/1.136, allocations: 0.5434 MB / 1.181 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/1.136, allocations: 303.5 kB / 1.181 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/1.136, allocations: 20 kB / 1.181 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.137, allocations: 337.9 kB / 1.181 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/1.137, allocations: 337.8 kB / 1.182 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/1.138, allocations: 489.9 kB / 1.182 GB, free: 5.207 MB / 0.9356 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/1.142, allocations: 2.247 MB / 1.184 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.142, allocations: 0 / 1.184 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001607/1.144, allocations: 1.015 MB / 1.185 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/1.144, allocations: 9.281 kB / 1.185 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/1.144, allocations: 7.953 kB / 1.185 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/1.144, allocations: 8 kB / 1.185 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/1.145, allocations: 183.8 kB / 1.185 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/1.145, allocations: 7.938 kB / 1.185 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.146, allocations: 75.73 kB / 1.185 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/1.146, allocations: 39.98 kB / 1.186 GB, free: 1.574 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.000672/1.147, allocations: 375.7 kB / 1.186 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/1.147, allocations: 126.5 kB / 1.186 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/1.147, allocations: 148.3 kB / 1.186 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.147, allocations: 11.95 kB / 1.186 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/1.147, allocations: 3.938 kB / 1.186 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001493/1.149, allocations: 1.09 MB / 1.187 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/1.153, allocations: 3.047 MB / 1.19 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.153, allocations: 8 kB / 1.19 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/1.154, allocations: 163.7 kB / 1.19 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003307/1.154, allocations: 101.6 kB / 1.19 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/1.154, allocations: 28 kB / 1.19 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/1.157, allocations: 2.869 MB / 1.193 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.157, allocations: 15.94 kB / 1.193 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/1.159, allocations: 1.733 MB / 1.195 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006665/1.16, allocations: 303.5 kB / 1.195 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/1.16, allocations: 31.98 kB / 1.195 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009063/1.161, allocations: 76.73 kB / 1.195 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.161, allocations: 92.08 kB / 1.195 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.351e-05/1.161, allocations: 43.98 kB / 1.196 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008905/1.162, allocations: 0.6878 MB / 1.196 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.162, allocations: 4 kB / 1.196 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001155/1.163, allocations: 376 kB / 1.197 GB, free: 5.574 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002889/1.166, allocations: 2.406 MB / 1.199 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001363/1.167, allocations: 0.8168 MB / 1.2 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/1.167, allocations: 8 kB / 1.2 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008941/1.168, allocations: 0.6656 MB / 1.2 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/1.172, allocations: 0.8772 MB / 1.201 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.184, allocations: 7.941 MB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009699/1.185, allocations: 1.257 MB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001602/1.187, allocations: 343 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/1.187, allocations: 471.3 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of SimCode: time 1.152e-06/1.187, allocations: 0 / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06247/1.25, allocations: 37.88 MB / 1.248 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/1.25, allocations: 266.4 kB / 1.248 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.812, allocations: 4 kB / 1.248 GB, free: 500 kB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat does not exist to compare? outputFormat=mat