Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_8_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.001345/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00159/0.00159, allocations: 196.8 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.166/1.166, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 70.58 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1848, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5069/0.6917, allocations: 207.6 MB / 0.9856 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.7023, allocations: 9.864 MB / 0.9952 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.7036, allocations: 48.41 kB / 0.9952 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.705, allocations: 0.6596 MB / 0.9959 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00598/0.711, allocations: 2.636 MB / 0.9985 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.7136, allocations: 1.243 MB / 0.9997 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004067/0.7177, allocations: 5.589 MB / 1.005 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.7187, allocations: 1.111 MB / 1.006 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.7201, allocations: 1.165 MB / 1.007 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.7219, allocations: 1.267 MB / 1.009 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.7221, allocations: 69.81 kB / 1.009 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.7263, allocations: 2.758 MB / 1.011 GB, free: 136 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005912/0.7269, allocations: 0.5417 MB / 1.012 GB, free: 0 / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007955/0.7277, allocations: 0.7712 MB / 1.013 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.7312, allocations: 3.074 MB / 1.016 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7312, allocations: 7.406 kB / 1.016 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of FrontEnd: time 7.62e-07/0.7312, allocations: 0 / 1.016 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.7312, allocations: 0 / 1.016 GB, free: 13.85 MB / 0.7481 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.002565/0.7338, allocations: 1.881 MB / 1.017 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.7338, allocations: 10.88 kB / 1.017 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.734, allocations: 166.8 kB / 1.018 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002986/0.737, allocations: 486.3 kB / 1.018 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.7385, allocations: 1.048 MB / 1.019 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.7385, allocations: 82.83 kB / 1.019 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.7387, allocations: 118.9 kB / 1.019 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.7403, allocations: 1.154 MB / 1.02 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.7404, allocations: 0 / 1.02 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.7405, allocations: 49.62 kB / 1.02 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/0.7405, allocations: 39.27 kB / 1.021 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.742, allocations: 1.065 MB / 1.022 GB, free: 10.04 MB / 0.7481 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.005925/0.7479, allocations: 4.514 MB / 1.026 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/0.7488, allocations: 0.64 MB / 1.027 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.7493, allocations: 421.8 kB / 1.027 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003766/0.7497, allocations: 298.6 kB / 1.027 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.7497, allocations: 48.25 kB / 1.027 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=65): time 3.606e-06/0.7497, allocations: 0 / 1.027 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65): time 0.002497/0.7522, allocations: 1.337 MB / 1.029 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.7523, allocations: 64.41 kB / 1.029 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.7534, allocations: 1.044 MB / 1.03 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.7534, allocations: 41.67 kB / 1.03 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.7538, allocations: 0.588 MB / 1.03 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.754, allocations: 233.9 kB / 1.031 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.7543, allocations: 154.6 kB / 1.031 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.7544, allocations: 338.5 kB / 1.031 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.7548, allocations: 308 kB / 1.031 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.7554, allocations: 0.5157 MB / 1.032 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009644/0.7564, allocations: 0.8262 MB / 1.033 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.7564, allocations: 1.812 kB / 1.033 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001266/0.7577, allocations: 0.965 MB / 1.034 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.7577, allocations: 11.12 kB / 1.034 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.7577, allocations: 5.25 kB / 1.034 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7577, allocations: 9.125 kB / 1.034 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.7583, allocations: 170.3 kB / 1.034 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.7583, allocations: 22.69 kB / 1.034 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.7594, allocations: 126.7 kB / 1.034 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.7595, allocations: 37.92 kB / 1.034 GB, free: 1.254 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004138/0.7599, allocations: 364.5 kB / 1.034 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.7601, allocations: 123.6 kB / 1.034 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.7604, allocations: 132.5 kB / 1.035 GB, free: 0.8281 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7604, allocations: 7.031 kB / 1.035 GB, free: 0.8281 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.7604, allocations: 3.938 kB / 1.035 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.7615, allocations: 0.9453 MB / 1.035 GB, free: 140 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.7646, allocations: 2.311 MB / 1.038 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7646, allocations: 2.75 kB / 1.038 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/0.7651, allocations: 121.4 kB / 1.038 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/0.7655, allocations: 96.88 kB / 1.038 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.7655, allocations: 30.05 kB / 1.038 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.7677, allocations: 2.867 MB / 1.041 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7677, allocations: 5.938 kB / 1.041 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.7695, allocations: 1.418 MB / 1.042 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.7699, allocations: 294.7 kB / 1.042 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.7701, allocations: 31.89 kB / 1.042 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.771, allocations: 59.97 kB / 1.043 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.7711, allocations: 51.69 kB / 1.043 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/0.7712, allocations: 36.12 kB / 1.043 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008993/0.7721, allocations: 0.7381 MB / 1.043 GB, free: 9.926 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/0.7721, allocations: 0 / 1.043 GB, free: 9.926 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000999/0.7731, allocations: 413.7 kB / 1.044 GB, free: 9.82 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.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 (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002454/0.7756, allocations: 2.085 MB / 1.046 GB, free: 7.672 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.7766, allocations: 0.7225 MB / 1.046 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.7766, allocations: 8.062 kB / 1.046 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007583/0.7774, allocations: 0.5781 MB / 1.047 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/0.7807, allocations: 0.847 MB / 1.048 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.7934, allocations: 10.13 MB / 1.058 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/0.7941, allocations: 1.225 MB / 1.059 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0011/0.7952, allocations: 334.5 kB / 1.059 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/0.7958, allocations: 459.3 kB / 1.06 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.7958, allocations: 0 / 1.06 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.884/2.68, allocations: 35.34 MB / 1.094 GB, free: 6 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003441/2.68, allocations: 281.5 kB / 1.094 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/5.781, allocations: 0 / 1.094 GB, free: 5.629 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)