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.001094/0.001094, 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.00109/0.00109, allocations: 193.8 kB / 16.53 MB, free: 6.66 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.369/1.369, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.698/1.698, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001449/0.001449, allocations: 74.8 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1885, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5811/0.7697, allocations: 222.6 MB / 1.001 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.7863, allocations: 12.04 MB / 1.013 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.7893, allocations: 70.69 kB / 1.013 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.7918, allocations: 0.8624 MB / 1.013 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007968/0.7998, allocations: 2.849 MB / 1.016 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00375/0.8036, allocations: 1.414 MB / 1.018 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005586/0.8092, allocations: 4.398 MB / 1.022 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/0.8118, allocations: 1.694 MB / 1.024 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005913/0.8177, allocations: 2.449 MB / 1.026 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.8206, allocations: 1.547 MB / 1.028 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004952/0.8211, allocations: 178.7 kB / 1.028 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/0.8255, allocations: 2.157 MB / 1.03 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008184/0.8263, allocations: 0.7046 MB / 1.03 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.828, allocations: 1.04 MB / 1.031 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004324/0.8323, allocations: 3.266 MB / 1.035 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8323, allocations: 0 / 1.035 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.163e-06/0.8323, allocations: 0 / 1.035 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.8323, allocations: 6.75 kB / 1.035 GB, free: 3.406 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003507/0.8359, allocations: 2.27 MB / 1.037 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.8359, allocations: 10.12 kB / 1.037 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002383/0.8361, allocations: 209.1 kB / 1.037 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00289/0.839, allocations: 0.501 MB / 1.038 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.8413, allocations: 1.225 MB / 1.039 GB, free: 452 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.8414, allocations: 112.5 kB / 1.039 GB, free: 396 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.8416, allocations: 149.7 kB / 1.039 GB, free: 344 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.8441, allocations: 1.759 MB / 1.041 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.8441, allocations: 6.906 kB / 1.041 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.8443, allocations: 58.97 kB / 1.041 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/0.8443, allocations: 54.5 kB / 1.041 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.8464, allocations: 1.394 MB / 1.042 GB, free: 14.2 MB / 0.7637 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.008005/0.8544, allocations: 7.308 MB / 1.049 GB, free: 6.504 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.8558, allocations: 1.03 MB / 1.05 GB, free: 5.43 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009209/0.8567, allocations: 0.6945 MB / 1.051 GB, free: 4.723 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.857, allocations: 118.1 kB / 1.051 GB, free: 4.59 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.857, allocations: 51.5 kB / 1.051 GB, free: 4.531 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001139/0.8582, allocations: 306.5 kB / 1.052 GB, free: 4.23 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 3.777e-06/0.8582, allocations: 0 / 1.052 GB, free: 4.23 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.007812/0.866, allocations: 4.414 MB / 1.056 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.8661, allocations: 171.3 kB / 1.056 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.8675, allocations: 1.246 MB / 1.057 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/0.8676, allocations: 53.64 kB / 1.057 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/0.8681, allocations: 0.7005 MB / 1.058 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.8684, allocations: 398.2 kB / 1.058 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003767/0.8688, allocations: 267.3 kB / 1.059 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8689, allocations: 361.9 kB / 1.059 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007859/0.8697, allocations: 0.5192 MB / 1.059 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009912/0.8707, allocations: 0.8513 MB / 1.06 GB, free: 10.99 MB / 0.7794 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 (sin.p = vol.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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.8818, allocations: 4.796 MB / 1.065 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.8818, allocations: 4 kB / 1.065 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002494/0.8843, allocations: 1.617 MB / 1.067 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.8843, allocations: 11.44 kB / 1.067 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.8844, allocations: 8 kB / 1.067 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.8844, allocations: 16 kB / 1.067 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.8856, allocations: 299.5 kB / 1.067 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.8856, allocations: 15.94 kB / 1.067 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.8869, allocations: 47.89 kB / 1.067 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.887, allocations: 64.97 kB / 1.067 GB, free: 3.957 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006736/0.8877, allocations: 427.7 kB / 1.067 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.888, allocations: 162.1 kB / 1.068 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.89, allocations: 1.29 MB / 1.069 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.8901, allocations: 15.94 kB / 1.069 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8901, allocations: 0 / 1.069 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001537/0.8916, allocations: 1.244 MB / 1.07 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00558/0.8972, allocations: 3.754 MB / 1.074 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.8972, allocations: 12 kB / 1.074 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.8984, allocations: 255.6 kB / 1.074 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.8984, allocations: 12 kB / 1.074 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.8985, allocations: 36 kB / 1.074 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/0.8985, allocations: 27.94 kB / 1.074 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.8985, allocations: 19.92 kB / 1.074 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/0.9013, allocations: 2.215 MB / 1.076 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006114/0.9019, allocations: 358.9 kB / 1.077 GB, free: 9.684 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.9021, allocations: 35.98 kB / 1.077 GB, free: 9.648 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.9032, allocations: 55.25 kB / 1.077 GB, free: 9.598 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.9033, allocations: 96.31 kB / 1.077 GB, free: 9.504 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.9034, allocations: 55.98 kB / 1.077 GB, free: 9.449 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001057/0.9045, allocations: 0.8406 MB / 1.078 GB, free: 8.609 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9045, allocations: 0 / 1.078 GB, free: 8.609 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00127/0.9057, allocations: 436 kB / 1.078 GB, free: 8.184 MB / 0.795 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 (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.003207/0.909, allocations: 2.894 MB / 1.081 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.9114, allocations: 1.434 MB / 1.082 GB, free: 3.711 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.9114, allocations: 4 kB / 1.082 GB, free: 3.707 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.9121, allocations: 0.5526 MB / 1.083 GB, free: 3.156 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/0.9162, allocations: 0.9269 MB / 1.084 GB, free: 2.258 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/0.9325, allocations: 13.67 MB / 1.097 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009059/0.9335, allocations: 1.368 MB / 1.098 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001495/0.935, allocations: 381.2 kB / 1.099 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008347/0.9358, allocations: 0.6362 MB / 1.099 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of SimCode: time 2.425e-06/0.9358, allocations: 0 / 1.099 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06991/1.006, allocations: 42.87 MB / 1.141 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.567/9.573, allocations: 8.094 kB / 1.141 GB, free: 6.922 MB / 0.8575 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/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)