Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_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.001136/0.001136, allocations: 87.84 kB / 15.06 MB, free: 1.082 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.001537/0.001537, allocations: 176.7 kB / 15.96 MB, free: 196 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.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.751/2.751, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003551, allocations: 8 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7871/0.7875, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2156/1.003, allocations: 191.1 MB / 1.168 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01466/1.018, allocations: 9.285 MB / 1.177 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/1.021, allocations: 47.69 kB / 1.177 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/1.023, allocations: 0.5317 MB / 1.177 GB, free: 12.71 MB / 0.9356 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.006561/1.029, allocations: 2.041 MB / 1.179 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003525/1.033, allocations: 0.9809 MB / 1.18 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007116/1.04, allocations: 4.742 MB / 1.185 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/1.042, allocations: 0.9691 MB / 1.186 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/1.046, allocations: 1.136 MB / 1.187 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00342/1.049, allocations: 1.175 MB / 1.188 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005897/1.05, allocations: 56 kB / 1.188 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004769/1.055, allocations: 1.161 MB / 1.189 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001471/1.056, allocations: 0.5219 MB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/1.058, allocations: 333 kB / 1.19 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004188/1.062, allocations: 2.03 MB / 1.192 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/1.062, allocations: 4 kB / 1.192 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.447e-06/1.062, allocations: 0 / 1.192 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.955e-05/1.062, allocations: 0 / 1.192 GB, free: 13.51 MB / 0.9512 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.004029/1.066, allocations: 1.612 MB / 1.194 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.066, allocations: 15.95 kB / 1.194 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005124/1.067, allocations: 168.8 kB / 1.194 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003458/1.07, allocations: 481.7 kB / 1.194 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/1.072, allocations: 1.031 MB / 1.195 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.506e-05/1.073, allocations: 82.14 kB / 1.195 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/1.073, allocations: 116 kB / 1.196 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/1.076, allocations: 1.145 MB / 1.197 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/1.076, allocations: 0 / 1.197 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/1.076, allocations: 48 kB / 1.197 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/1.076, allocations: 42.12 kB / 1.197 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/1.078, allocations: 1.07 MB / 1.198 GB, free: 7.562 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.00734/1.085, allocations: 4.217 MB / 1.202 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/1.087, allocations: 0.7817 MB / 1.203 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006892/1.087, allocations: 478.2 kB / 1.203 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004161/1.088, allocations: 296.5 kB / 1.203 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/1.088, allocations: 47.5 kB / 1.204 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.625e-06/1.088, allocations: 0 / 1.204 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.00623/1.094, allocations: 2.84 MB / 1.206 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/1.094, allocations: 64.41 kB / 1.206 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/1.096, allocations: 0.9675 MB / 1.207 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/1.096, allocations: 49.7 kB / 1.207 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/1.096, allocations: 0.5357 MB / 1.208 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/1.097, allocations: 311.5 kB / 1.208 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/1.097, allocations: 16 kB / 1.208 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.097, allocations: 338 kB / 1.208 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/1.097, allocations: 333.8 kB / 1.209 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/1.098, allocations: 491.1 kB / 1.209 GB, free: 11.31 MB / 0.9669 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.004884/1.103, allocations: 2.243 MB / 1.211 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.103, allocations: 0 / 1.211 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001877/1.105, allocations: 1.019 MB / 1.212 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.105, allocations: 4 kB / 1.212 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.105, allocations: 4 kB / 1.212 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/1.105, allocations: 8.047 kB / 1.212 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/1.106, allocations: 187.7 kB / 1.213 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/1.106, allocations: 4 kB / 1.213 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.107, allocations: 83.75 kB / 1.213 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.206e-05/1.107, allocations: 32 kB / 1.213 GB, free: 7.68 MB / 0.9669 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.0009112/1.108, allocations: 377.5 kB / 1.213 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/1.109, allocations: 134.4 kB / 1.213 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/1.109, allocations: 144.3 kB / 1.213 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.109, allocations: 8 kB / 1.213 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/1.109, allocations: 4 kB / 1.213 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001882/1.111, allocations: 1.094 MB / 1.214 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0072/1.118, allocations: 3.047 MB / 1.217 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/1.118, allocations: 8 kB / 1.217 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/1.119, allocations: 159.8 kB / 1.218 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/1.12, allocations: 97.64 kB / 1.218 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/1.12, allocations: 40.3 kB / 1.218 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003761/1.123, allocations: 2.873 MB / 1.221 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.579e-05/1.124, allocations: 8 kB / 1.221 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/1.127, allocations: 1.737 MB / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000874/1.128, allocations: 303.5 kB / 1.223 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/1.128, allocations: 27.98 kB / 1.223 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/1.129, allocations: 87.67 kB / 1.223 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.129, allocations: 84.14 kB / 1.223 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/1.13, allocations: 43.98 kB / 1.223 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00123/1.131, allocations: 0.6994 MB / 1.223 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.131, allocations: 0 / 1.223 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001532/1.132, allocations: 376 kB / 1.224 GB, free: 11.68 MB / 0.9825 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.003305/1.136, allocations: 2.399 MB / 1.226 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001462/1.137, allocations: 0.8208 MB / 1.227 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.137, allocations: 8 kB / 1.227 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.138, allocations: 0.6657 MB / 1.228 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/1.143, allocations: 0.8929 MB / 1.228 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.157, allocations: 7.934 MB / 1.236 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.158, allocations: 1.249 MB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001664/1.16, allocations: 346.9 kB / 1.238 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007907/1.16, allocations: 475.3 kB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/1.16, allocations: 0 / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6498/1.81, allocations: 37.86 MB / 1.275 GB, free: 252.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/1.811, allocations: 278.3 kB / 1.275 GB, free: 252.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/4.528, allocations: 0 / 1.275 GB, free: 252.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat does not exist to compare? outputFormat=mat