Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.469/1.469, allocations: 288.4 MB / 303.6 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008793/0.0008794, allocations: 194 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.103/1.103, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006649/0.000665, allocations: 101.2 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003214, allocations: 12.72 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4199/0.5627, allocations: 155.2 MB / 1.132 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003429/0.5662, allocations: 3.158 MB / 1.135 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.5664, allocations: 15.47 kB / 1.135 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.567, allocations: 247.8 kB / 1.135 GB, free: 0.6914 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001369/0.5684, allocations: 0.8858 MB / 1.136 GB, free: 340 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009183/0.5693, allocations: 0.5181 MB / 1.136 GB, free: 212 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0012/0.5705, allocations: 1.768 MB / 1.138 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.5709, allocations: 388.4 kB / 1.139 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005029/0.5714, allocations: 476.7 kB / 1.139 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.572, allocations: 449.9 kB / 1.139 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.5721, allocations: 21.91 kB / 1.139 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.5732, allocations: 0.9227 MB / 1.14 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.5733, allocations: 204.1 kB / 1.141 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.5736, allocations: 309.5 kB / 1.141 GB, free: 15.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006452/0.5742, allocations: 0.8237 MB / 1.142 GB, free: 14.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5743, allocations: 0 / 1.142 GB, free: 14.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5743, allocations: 3.938 kB / 1.142 GB, free: 14.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5743, allocations: 0 / 1.142 GB, free: 14.89 MB / 0.698 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.0009649/0.5752, allocations: 0.7929 MB / 1.142 GB, free: 14.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.5753, allocations: 13.66 kB / 1.142 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.01e-05/0.5754, allocations: 84.53 kB / 1.142 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009391/0.5763, allocations: 173 kB / 1.143 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.5769, allocations: 0.4944 MB / 1.143 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.577, allocations: 31.56 kB / 1.143 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.577, allocations: 41.66 kB / 1.143 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.5776, allocations: 475.8 kB / 1.144 GB, free: 13.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5777, allocations: 7.984 kB / 1.144 GB, free: 13.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.5777, allocations: 20.77 kB / 1.144 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.5777, allocations: 17.41 kB / 1.144 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.5782, allocations: 408.5 kB / 1.144 GB, free: 13.57 MB / 0.698 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.002303/0.5806, allocations: 1.864 MB / 1.146 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.5809, allocations: 223.4 kB / 1.146 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.5811, allocations: 152.3 kB / 1.146 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.5812, allocations: 98.19 kB / 1.146 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.5812, allocations: 40.36 kB / 1.146 GB, free: 12.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.5813, allocations: 0 / 1.146 GB, free: 12.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.000674/0.5819, allocations: 394.6 kB / 1.147 GB, free: 12.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.582, allocations: 55.06 kB / 1.147 GB, free: 12.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.5824, allocations: 495.3 kB / 1.147 GB, free: 11.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.5825, allocations: 30.39 kB / 1.147 GB, free: 11.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.5827, allocations: 282 kB / 1.148 GB, free: 11.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.5827, allocations: 79.06 kB / 1.148 GB, free: 11.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.5827, allocations: 4.438 kB / 1.148 GB, free: 11.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5829, allocations: 364.2 kB / 1.148 GB, free: 11.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.583, allocations: 115.9 kB / 1.148 GB, free: 11.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.5832, allocations: 200.8 kB / 1.148 GB, free: 11.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.5836, allocations: 322.8 kB / 1.149 GB, free: 11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5836, allocations: 4 kB / 1.149 GB, free: 11 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004997/0.5841, allocations: 396.3 kB / 1.149 GB, free: 10.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.5841, allocations: 9.422 kB / 1.149 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5842, allocations: 2.25 kB / 1.149 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5842, allocations: 8.562 kB / 1.149 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.5844, allocations: 61.52 kB / 1.149 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.5845, allocations: 18.64 kB / 1.149 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.5849, allocations: 52.66 kB / 1.149 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.5849, allocations: 14.22 kB / 1.149 GB, free: 10.83 MB / 0.698 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 (39): * Single equations (assignments): 39 * 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.0001886/0.5851, allocations: 205.3 kB / 1.149 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.5852, allocations: 49.09 kB / 1.149 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.732e-05/0.5853, allocations: 55.36 kB / 1.149 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5853, allocations: 3.094 kB / 1.149 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.5853, allocations: 3.938 kB / 1.149 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003499/0.5857, allocations: 340.8 kB / 1.15 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.5868, allocations: 0.9562 MB / 1.151 GB, free: 9.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5869, allocations: 1.469 kB / 1.151 GB, free: 9.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.5871, allocations: 59.62 kB / 1.151 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5872, allocations: 3.094 kB / 1.151 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.5872, allocations: 6.844 kB / 1.151 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.5872, allocations: 9.594 kB / 1.151 GB, free: 9.914 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5872, allocations: 1.312 kB / 1.151 GB, free: 9.914 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.5878, allocations: 0.5547 MB / 1.151 GB, free: 9.652 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.5879, allocations: 172.8 kB / 1.152 GB, free: 9.512 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.588, allocations: 6.938 kB / 1.152 GB, free: 9.512 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.5884, allocations: 32.3 kB / 1.152 GB, free: 9.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.5884, allocations: 20.2 kB / 1.152 GB, free: 9.492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.5885, allocations: 16.2 kB / 1.152 GB, free: 9.488 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003103/0.5888, allocations: 350.7 kB / 1.152 GB, free: 9.355 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5888, allocations: 0 / 1.152 GB, free: 9.355 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004341/0.5892, allocations: 154.8 kB / 1.152 GB, free: 9.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (23): * Single equations (assignments): 23 * 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.0009518/0.5902, allocations: 1.162 MB / 1.153 GB, free: 8.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.5906, allocations: 266.1 kB / 1.153 GB, free: 8.477 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5906, allocations: 1.625 kB / 1.153 GB, free: 8.477 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.5907, allocations: 124.4 kB / 1.154 GB, free: 8.453 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.5922, allocations: 332.6 kB / 1.154 GB, free: 8.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.5958, allocations: 2.956 MB / 1.157 GB, free: 6.887 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.5961, allocations: 0.8781 MB / 1.158 GB, free: 6.113 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003885/0.5965, allocations: 127.8 kB / 1.158 GB, free: 6.059 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.5967, allocations: 161.8 kB / 1.158 GB, free: 6.039 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.5967, allocations: 4 kB / 1.158 GB, free: 6.035 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6259/1.223, allocations: 14.62 MB / 1.172 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/1.223, allocations: 249.3 kB / 1.172 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/4.047, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)