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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 104.7 kB / 16.35 MB, free: 5.883 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.001633/0.001634, allocations: 192.1 kB / 17.29 MB, free: 5.52 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.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001447/0.001447, allocations: 63.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2431, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5917/0.8348, allocations: 222.6 MB / 1.002 GB, free: 11.35 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.8525, allocations: 12.04 MB / 1.014 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003935/0.8565, allocations: 67.62 kB / 1.014 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.8593, allocations: 0.8538 MB / 1.015 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007421/0.8668, allocations: 2.851 MB / 1.018 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.8706, allocations: 1.419 MB / 1.019 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006278/0.8769, allocations: 4.403 MB / 1.023 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.8796, allocations: 1.702 MB / 1.025 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007717/0.8873, allocations: 2.447 MB / 1.027 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/0.8912, allocations: 1.553 MB / 1.029 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007892/0.892, allocations: 180 kB / 1.029 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/0.8977, allocations: 2.163 MB / 1.031 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009418/0.8987, allocations: 0.7012 MB / 1.032 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.9003, allocations: 1.046 MB / 1.033 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005218/0.9055, allocations: 3.303 MB / 1.036 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.9055, allocations: 0 / 1.036 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.245e-06/0.9055, allocations: 0 / 1.036 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.625e-05/0.9056, allocations: 4 kB / 1.036 GB, free: 8.523 MB / 0.8262 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.003827/0.9094, allocations: 2.271 MB / 1.038 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.9095, allocations: 8.031 kB / 1.038 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.9125, allocations: 0.4933 MB / 1.039 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.9147, allocations: 1.231 MB / 1.04 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-05/0.9148, allocations: 110.8 kB / 1.04 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.915, allocations: 159.9 kB / 1.04 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.9177, allocations: 1.753 MB / 1.042 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.9177, allocations: 8.5 kB / 1.042 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.9179, allocations: 60 kB / 1.042 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/0.9179, allocations: 50.55 kB / 1.042 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.9201, allocations: 1.395 MB / 1.043 GB, free: 0.7578 MB / 0.8262 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.008906/0.9291, allocations: 7.264 MB / 1.05 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.9305, allocations: 1.032 MB / 1.051 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009109/0.9315, allocations: 0.6945 MB / 1.052 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.9317, allocations: 114.2 kB / 1.052 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.9317, allocations: 55.5 kB / 1.052 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001182/0.9329, allocations: 302.6 kB / 1.053 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=106): time 3.576e-06/0.9329, allocations: 0 / 1.053 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=112): time 0.007879/0.9408, allocations: 4.416 MB / 1.057 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.9409, allocations: 175.1 kB / 1.057 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.9424, allocations: 1.25 MB / 1.058 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.9425, allocations: 49.7 kB / 1.058 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.943, allocations: 0.6966 MB / 1.059 GB, free: 116 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.9434, allocations: 394.2 kB / 1.059 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.9438, allocations: 267.5 kB / 1.06 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9439, allocations: 357.9 kB / 1.06 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007975/0.9447, allocations: 0.5231 MB / 1.061 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.9457, allocations: 0.8585 MB / 1.061 GB, free: 13.59 MB / 0.8575 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.01147/0.9572, allocations: 4.782 MB / 1.066 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.9572, allocations: 4 kB / 1.066 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002685/0.9599, allocations: 1.612 MB / 1.068 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.96, allocations: 8 kB / 1.068 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.96, allocations: 14.11 kB / 1.068 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.96, allocations: 12 kB / 1.068 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.9612, allocations: 299.5 kB / 1.068 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/0.9613, allocations: 19.92 kB / 1.068 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.9626, allocations: 52.3 kB / 1.068 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.9627, allocations: 59.98 kB / 1.068 GB, free: 6.582 MB / 0.8575 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.0007425/0.9635, allocations: 428.7 kB / 1.068 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.9638, allocations: 158.1 kB / 1.069 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.966, allocations: 1.29 MB / 1.07 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.966, allocations: 15.94 kB / 1.07 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.966, allocations: 4 kB / 1.07 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001517/0.9675, allocations: 1.241 MB / 1.071 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/0.9734, allocations: 3.76 MB / 1.075 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.9735, allocations: 8 kB / 1.075 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.9746, allocations: 255.6 kB / 1.075 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.293e-05/0.9747, allocations: 19.94 kB / 1.075 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/0.9747, allocations: 39.98 kB / 1.075 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/0.9748, allocations: 15.94 kB / 1.075 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.9748, allocations: 16.31 kB / 1.075 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.9776, allocations: 2.226 MB / 1.077 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007756/0.9784, allocations: 362.9 kB / 1.078 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.9786, allocations: 35.98 kB / 1.078 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.9796, allocations: 45.08 kB / 1.078 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.9798, allocations: 104.3 kB / 1.078 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.858e-05/0.9799, allocations: 47.98 kB / 1.078 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001076/0.981, allocations: 0.8406 MB / 1.079 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.31e-07/0.981, allocations: 0 / 1.079 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001364/0.9823, allocations: 436 kB / 1.079 GB, free: 10.81 MB / 0.8731 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.0004881/0.9828, allocations: 238.4 kB / 1.079 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.9848, allocations: 1.257 MB / 1.081 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.9848, allocations: 4 kB / 1.081 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007415/0.9856, allocations: 0.5526 MB / 1.081 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/0.9893, allocations: 0.9357 MB / 1.082 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/0.9941, allocations: 3.355 MB / 1.085 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.995, allocations: 1.372 MB / 1.087 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001325/0.9963, allocations: 377.9 kB / 1.087 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.9967, allocations: 127.4 kB / 1.087 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/0.9967, allocations: 0 / 1.087 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.04733/1.044, allocations: 30.39 MB / 1.117 GB, free: 4.617 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (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 & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)