Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.0008398/0.0008397, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001087/0.001087, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.748/1.748, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005718/0.0005718, allocations: 21.41 kB / 0.6738 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2815, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7549/1.036, allocations: 202.8 MB / 0.9854 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01694/1.053, allocations: 11.31 MB / 0.9964 GB, free: 140 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003472/1.057, allocations: 57.59 kB / 0.9965 GB, free: 116 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/1.059, allocations: 0.5948 MB / 0.9971 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009338/1.069, allocations: 2.109 MB / 0.9991 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004257/1.073, allocations: 1.009 MB / 1 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008477/1.082, allocations: 5.093 MB / 1.005 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/1.084, allocations: 1.306 MB / 1.006 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006329/1.091, allocations: 1.927 MB / 1.008 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/1.094, allocations: 1.428 MB / 1.01 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006084/1.094, allocations: 78.78 kB / 1.01 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004579/1.099, allocations: 1.059 MB / 1.011 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001466/1.1, allocations: 0.5816 MB / 1.011 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001471/1.102, allocations: 382.6 kB / 1.012 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004448/1.106, allocations: 2.244 MB / 1.014 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.106, allocations: 0 / 1.014 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.895e-06/1.106, allocations: 0 / 1.014 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.774e-05/1.106, allocations: 0 / 1.014 GB, free: 8.117 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003595/1.11, allocations: 1.906 MB / 1.016 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.11, allocations: 9.406 kB / 1.016 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003151/1.11, allocations: 207.6 kB / 1.016 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/1.113, allocations: 0.4951 MB / 1.016 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/1.115, allocations: 1.18 MB / 1.018 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/1.115, allocations: 111.7 kB / 1.018 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/1.115, allocations: 155.6 kB / 1.018 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/1.118, allocations: 1.75 MB / 1.02 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/1.118, allocations: 6.812 kB / 1.02 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.118, allocations: 61.69 kB / 1.02 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.979e-05/1.118, allocations: 58 kB / 1.02 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/1.12, allocations: 1.379 MB / 1.021 GB, free: 4.992 MB / 0.7325 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.008565/1.129, allocations: 7.304 MB / 1.028 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/1.13, allocations: 1.013 MB / 1.029 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000882/1.131, allocations: 0.6929 MB / 1.03 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/1.131, allocations: 106.7 kB / 1.03 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/1.131, allocations: 59.52 kB / 1.03 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001231/1.133, allocations: 310 kB / 1.03 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=106): time 3.647e-06/1.133, allocations: 1.859 kB / 1.03 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=112): time 0.007177/1.14, allocations: 4.268 MB / 1.034 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/1.14, allocations: 170.2 kB / 1.035 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/1.141, allocations: 1.236 MB / 1.036 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/1.142, allocations: 53.3 kB / 1.036 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005686/1.142, allocations: 0.6918 MB / 1.037 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000381/1.143, allocations: 403.3 kB / 1.037 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/1.143, allocations: 28.56 kB / 1.037 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.143, allocations: 364.1 kB / 1.037 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007973/1.144, allocations: 0.5041 MB / 1.038 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.145, allocations: 0.8442 MB / 1.039 GB, free: 8.953 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.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: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008904/1.154, allocations: 3.452 MB / 1.042 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/1.154, allocations: 4 kB / 1.042 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002706/1.156, allocations: 1.592 MB / 1.044 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.156, allocations: 9.859 kB / 1.044 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/1.156, allocations: 13.83 kB / 1.044 GB, free: 4.523 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/1.156, allocations: 16 kB / 1.044 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.158, allocations: 287.5 kB / 1.044 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/1.158, allocations: 23.92 kB / 1.044 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.159, allocations: 94.52 kB / 1.044 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.159, allocations: 59.98 kB / 1.044 GB, free: 4.055 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.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: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.00085/1.16, allocations: 426.2 kB / 1.044 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/1.16, allocations: 162 kB / 1.045 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/1.163, allocations: 1.267 MB / 1.046 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.163, allocations: 12 kB / 1.046 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.163, allocations: 48 / 1.046 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/1.164, allocations: 1.229 MB / 1.047 GB, free: 0.8828 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00607/1.17, allocations: 3.736 MB / 1.051 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.17, allocations: 11.95 kB / 1.051 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.171, allocations: 257.5 kB / 1.051 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.422e-05/1.171, allocations: 16 kB / 1.051 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.751e-05/1.172, allocations: 39.98 kB / 1.051 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-05/1.172, allocations: 19.94 kB / 1.051 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/1.172, allocations: 11.94 kB / 1.051 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/1.175, allocations: 2.184 MB / 1.053 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008211/1.176, allocations: 362.9 kB / 1.054 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/1.176, allocations: 45.84 kB / 1.054 GB, free: 9.852 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.177, allocations: 91.78 kB / 1.054 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.177, allocations: 96.34 kB / 1.054 GB, free: 9.668 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.242e-05/1.177, allocations: 59.97 kB / 1.054 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001146/1.178, allocations: 0.8289 MB / 1.055 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.178, allocations: 0 / 1.055 GB, free: 8.781 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001405/1.18, allocations: 424 kB / 1.055 GB, free: 8.367 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.003395/1.183, allocations: 2.871 MB / 1.058 GB, free: 5.344 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.185, allocations: 1.196 MB / 1.059 GB, free: 4.148 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.185, allocations: 5.75 kB / 1.059 GB, free: 4.145 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007616/1.186, allocations: 0.5429 MB / 1.06 GB, free: 3.602 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/1.19, allocations: 0.8756 MB / 1.06 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/1.208, allocations: 10.38 MB / 1.07 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.209, allocations: 1.376 MB / 1.072 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001573/1.211, allocations: 377.2 kB / 1.072 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008967/1.212, allocations: 0.6389 MB / 1.073 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of SimCode: time 1.162e-06/1.212, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07098/1.283, allocations: 42.16 MB / 1.114 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/1.283, allocations: 265.9 kB / 1.114 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/4.275, allocations: 0 / 1.114 GB, free: 11.32 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: