Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001022/0.001022, allocations: 87.03 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.001204/0.001204, 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.434/1.434, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.846/2.846, allocations: 409.4 MB / 0.684 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004232, allocations: 16 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7974/0.7978, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1786/0.9765, allocations: 155.2 MB / 1.133 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00529/0.9818, allocations: 3.197 MB / 1.136 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.9824, allocations: 19.88 kB / 1.136 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.9832, allocations: 210.7 kB / 1.136 GB, free: 7.188 MB / 0.8887 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.002074/0.9853, allocations: 0.7542 MB / 1.137 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.9868, allocations: 0.4926 MB / 1.137 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.9888, allocations: 1.778 MB / 1.139 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005455/0.9893, allocations: 351.3 kB / 1.139 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000811/0.9901, allocations: 481.9 kB / 1.14 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007021/0.9909, allocations: 446.3 kB / 1.14 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.9909, allocations: 28 kB / 1.14 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.9921, allocations: 427 kB / 1.141 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.9924, allocations: 203.4 kB / 1.141 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.9926, allocations: 145.4 kB / 1.141 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008668/0.9934, allocations: 0.7755 MB / 1.142 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9934, allocations: 0 / 1.142 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9934, allocations: 0 / 1.142 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.9935, allocations: 4 kB / 1.142 GB, free: 1.324 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001357/0.9948, allocations: 0.7948 MB / 1.143 GB, free: 492 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.9949, allocations: 8.031 kB / 1.143 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.995, allocations: 90.5 kB / 1.143 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.9962, allocations: 175.1 kB / 1.143 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.9969, allocations: 489.8 kB / 1.143 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.9969, allocations: 36.95 kB / 1.143 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.997, allocations: 44 kB / 1.143 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.9979, allocations: 474.4 kB / 1.144 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.9979, allocations: 3.984 kB / 1.144 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.998, allocations: 20 kB / 1.144 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.998, allocations: 20.94 kB / 1.144 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.9987, allocations: 407.7 kB / 1.144 GB, free: 14.69 MB / 0.9044 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.00238/1.001, allocations: 1.74 MB / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/1.002, allocations: 291.6 kB / 1.146 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/1.002, allocations: 182.3 kB / 1.146 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/1.002, allocations: 93.62 kB / 1.146 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.002, allocations: 38.56 kB / 1.146 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/1.002, allocations: 4 kB / 1.146 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001964/1.004, allocations: 1.059 MB / 1.148 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.004, allocations: 55.34 kB / 1.148 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/1.005, allocations: 453.9 kB / 1.148 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/1.005, allocations: 37.7 kB / 1.148 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/1.005, allocations: 252.1 kB / 1.148 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/1.005, allocations: 114.3 kB / 1.148 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/1.005, allocations: 8 kB / 1.148 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002332/1.005, allocations: 358.8 kB / 1.149 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/1.005, allocations: 131.9 kB / 1.149 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/1.006, allocations: 197.6 kB / 1.149 GB, free: 9.441 MB / 0.9044 GB 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.001389/1.007, allocations: 0.5564 MB / 1.15 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.007, allocations: 0 / 1.15 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005926/1.008, allocations: 417.3 kB / 1.15 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.008, allocations: 8 kB / 1.15 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.008, allocations: 0 / 1.15 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.008, allocations: 4 kB / 1.15 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/1.008, allocations: 71.91 kB / 1.15 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.008, allocations: 4 kB / 1.15 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/1.008, allocations: 27.97 kB / 1.15 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/1.008, allocations: 19.98 kB / 1.15 GB, free: 8.32 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002569/1.009, allocations: 217.6 kB / 1.15 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/1.009, allocations: 55.34 kB / 1.15 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/1.009, allocations: 52.77 kB / 1.15 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.009, allocations: 11.92 kB / 1.15 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.009, allocations: 3.984 kB / 1.15 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004923/1.009, allocations: 408.5 kB / 1.151 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/1.011, allocations: 1.246 MB / 1.152 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.011, allocations: 4 kB / 1.152 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/1.012, allocations: 75.89 kB / 1.152 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.012, allocations: 4.5 kB / 1.152 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/1.012, allocations: 20 kB / 1.152 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.012, allocations: 4 kB / 1.152 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/1.012, allocations: 7.938 kB / 1.152 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/1.013, allocations: 0.692 MB / 1.153 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/1.013, allocations: 172.4 kB / 1.153 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/1.013, allocations: 12 kB / 1.153 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/1.013, allocations: 25.52 kB / 1.153 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/1.013, allocations: 39.92 kB / 1.153 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.284e-05/1.013, allocations: 19.98 kB / 1.153 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003835/1.014, allocations: 331.1 kB / 1.153 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/1.014, allocations: 0 / 1.153 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005557/1.014, allocations: 136 kB / 1.154 GB, free: 4.582 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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.001514/1.016, allocations: 1.311 MB / 1.155 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005452/1.016, allocations: 313.6 kB / 1.155 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.016, allocations: 0 / 1.155 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/1.017, allocations: 164.9 kB / 1.155 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/1.018, allocations: 346 kB / 1.156 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/1.023, allocations: 3.11 MB / 1.159 GB, free: 15.18 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/1.024, allocations: 0.8822 MB / 1.159 GB, free: 14.27 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005974/1.024, allocations: 136.6 kB / 1.16 GB, free: 14.14 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/1.025, allocations: 163.4 kB / 1.16 GB, free: 13.98 MB / 0.92 GB Notification: Performance of SimCode: time 1.042e-06/1.025, allocations: 0 / 1.16 GB, free: 13.98 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/1.057, allocations: 15.04 MB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/1.057, allocations: 244.9 kB / 1.175 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/3.249, allocations: 4 kB / 1.175 GB, free: 14.96 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat does not exist to compare? outputFormat=mat