Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.001021/0.001025, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 195 kB / 16.53 MB, free: 6.699 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.252/1.252, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.671/1.671, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001413/0.001413, allocations: 70.86 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2051, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6048/0.81, allocations: 242.4 MB / 1.02 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.8344, allocations: 15.79 MB / 1.036 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.8376, allocations: 72.94 kB / 1.036 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.8411, allocations: 1.183 MB / 1.037 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01064/0.8518, allocations: 3.809 MB / 1.041 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004788/0.8566, allocations: 1.785 MB / 1.042 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006728/0.8633, allocations: 5.218 MB / 1.047 GB, free: 6.629 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002693/0.866, allocations: 1.671 MB / 1.049 GB, free: 5.57 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005932/0.872, allocations: 2.588 MB / 1.052 GB, free: 4.035 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003753/0.8757, allocations: 1.719 MB / 1.053 GB, free: 3.039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006723/0.8764, allocations: 177.7 kB / 1.053 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006304/0.8827, allocations: 2.697 MB / 1.056 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.8842, allocations: 0.7713 MB / 1.057 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003326/0.8875, allocations: 1.151 MB / 1.058 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008035/0.8956, allocations: 3.513 MB / 1.061 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8956, allocations: 0 / 1.061 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8956, allocations: 0 / 1.061 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001259/0.8957, allocations: 0 / 1.061 GB, free: 10.72 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.006232/0.902, allocations: 2.498 MB / 1.064 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.902, allocations: 12.02 kB / 1.064 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005313/0.9026, allocations: 215.1 kB / 1.064 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.906, allocations: 0.5009 MB / 1.064 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.9084, allocations: 1.257 MB / 1.066 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.9085, allocations: 182.2 kB / 1.066 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.9087, allocations: 148 kB / 1.066 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.9115, allocations: 1.743 MB / 1.068 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.9116, allocations: 7.938 kB / 1.068 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.9117, allocations: 59.98 kB / 1.068 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-05/0.9118, allocations: 62.69 kB / 1.068 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.9142, allocations: 1.369 MB / 1.069 GB, free: 2.461 MB / 0.7794 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.01038/0.9246, allocations: 8.242 MB / 1.077 GB, free: 9.52 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.9262, allocations: 0.8967 MB / 1.078 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009606/0.9272, allocations: 0.538 MB / 1.079 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/0.9279, allocations: 320.5 kB / 1.079 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.889e-05/0.9279, allocations: 55.44 kB / 1.079 GB, free: 7.645 MB / 0.795 GB Notification: Performance of pre-optimization done (n=96): time 3.737e-06/0.928, allocations: 0 / 1.079 GB, free: 7.645 MB / 0.795 GB Notification: Performance of matching and sorting (n=102): time 0.006984/0.9349, allocations: 3.097 MB / 1.082 GB, free: 4.492 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.935, allocations: 64.41 kB / 1.082 GB, free: 4.418 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.9365, allocations: 1.257 MB / 1.083 GB, free: 3.152 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.22e-05/0.9366, allocations: 49.7 kB / 1.083 GB, free: 3.098 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/0.9372, allocations: 0.8093 MB / 1.084 GB, free: 2.281 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.9374, allocations: 366.7 kB / 1.085 GB, free: 1.918 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.9378, allocations: 222.8 kB / 1.085 GB, free: 1.695 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.9379, allocations: 357.9 kB / 1.085 GB, free: 1.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007928/0.9387, allocations: 449.8 kB / 1.085 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.9398, allocations: 0.8274 MB / 1.086 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.9416, allocations: 1.244 MB / 1.088 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.9416, allocations: 9.875 kB / 1.088 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002342/0.944, allocations: 1.405 MB / 1.089 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.944, allocations: 8 kB / 1.089 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.944, allocations: 15.94 kB / 1.089 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.944, allocations: 16 kB / 1.089 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.9452, allocations: 272.2 kB / 1.089 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/0.9452, allocations: 27.92 kB / 1.089 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.9464, allocations: 74.41 kB / 1.089 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/0.9465, allocations: 48 kB / 1.089 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00125/0.9478, allocations: 0.764 MB / 1.09 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001007/0.9488, allocations: 0.8351 MB / 1.091 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001746/0.9506, allocations: 1.225 MB / 1.092 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.229e-05/0.9506, allocations: 7.938 kB / 1.092 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002178/0.9528, allocations: 1.39 MB / 1.093 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.9528, allocations: 8 kB / 1.093 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.9528, allocations: 12 kB / 1.093 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.9528, allocations: 16 kB / 1.093 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.9539, allocations: 271.5 kB / 1.094 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.9539, allocations: 19.94 kB / 1.094 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.9551, allocations: 76.03 kB / 1.094 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/0.9552, allocations: 54.12 kB / 1.094 GB, free: 7.688 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0002586/0.9554, allocations: 263.9 kB / 1.094 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.9557, allocations: 162 kB / 1.094 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.9577, allocations: 1.146 MB / 1.095 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.9577, allocations: 8 kB / 1.095 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.9577, allocations: 7.984 kB / 1.095 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001593/0.9593, allocations: 1.068 MB / 1.096 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004318/0.9637, allocations: 2.781 MB / 1.099 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.9637, allocations: 0 / 1.099 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.9648, allocations: 255.5 kB / 1.099 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.9649, allocations: 8 kB / 1.099 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.9649, allocations: 28.48 kB / 1.099 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.9649, allocations: 8.219 kB / 1.099 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.965, allocations: 4 kB / 1.099 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.9677, allocations: 1.801 MB / 1.101 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.9682, allocations: 343.4 kB / 1.102 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.9684, allocations: 24.19 kB / 1.102 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009874/0.9694, allocations: 61.94 kB / 1.102 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.9695, allocations: 72.88 kB / 1.102 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.9696, allocations: 43.97 kB / 1.102 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009991/0.9706, allocations: 0.8345 MB / 1.103 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9706, allocations: 0 / 1.103 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001799/0.9724, allocations: 0.7617 MB / 1.103 GB, free: 13.83 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.003558/0.976, allocations: 2.542 MB / 1.106 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003817/0.9798, allocations: 1.994 MB / 1.108 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.9798, allocations: 0 / 1.108 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.9807, allocations: 0.517 MB / 1.108 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003912/0.9846, allocations: 0.9077 MB / 1.109 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.002, allocations: 13.01 MB / 1.122 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009644/1.003, allocations: 1.441 MB / 1.123 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001923/1.005, allocations: 0.5599 MB / 1.124 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000839/1.006, allocations: 0.6711 MB / 1.124 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of SimCode: time 9.22e-07/1.006, allocations: 0 / 1.124 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/1.124, allocations: 44.61 MB / 1.168 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/14.1, allocations: 15.3 kB / 1.168 GB, free: 11.33 MB / 0.8887 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)