Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0019/0.0019, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002129/0.002129, allocations: 198.7 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002566/0.002566, allocations: 286.4 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.096/1.096, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 106.5 kB / 0.6059 GB, free: 24.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2126, allocations: 89.15 MB / 0.693 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5609/0.7735, allocations: 219.8 MB / 0.9076 GB, free: 108 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02164/0.7952, allocations: 12.04 MB / 0.9194 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004471/0.7997, allocations: 67.56 kB / 0.9194 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003182/0.8029, allocations: 0.7382 MB / 0.9202 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009341/0.8123, allocations: 2.685 MB / 0.9228 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004182/0.8166, allocations: 1.301 MB / 0.9241 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007328/0.8239, allocations: 4.465 MB / 0.9284 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003097/0.827, allocations: 1.682 MB / 0.9301 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007193/0.8342, allocations: 2.448 MB / 0.9324 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.8385, allocations: 1.651 MB / 0.9341 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004071/0.8389, allocations: 176 kB / 0.9342 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.8437, allocations: 2.272 MB / 0.9364 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008353/0.8446, allocations: 0.7167 MB / 0.9371 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.8459, allocations: 1.038 MB / 0.9382 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00529/0.8512, allocations: 3.427 MB / 0.9415 GB, free: 13.32 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8513, allocations: 0 / 0.9415 GB, free: 13.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8513, allocations: 0 / 0.9415 GB, free: 13.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.569e-05/0.8513, allocations: 0 / 0.9415 GB, free: 13.32 MB / 0.67 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.00419/0.8555, allocations: 2.292 MB / 0.9437 GB, free: 10.97 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.8556, allocations: 8.031 kB / 0.9438 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.8587, allocations: 0.4972 MB / 0.9442 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.8611, allocations: 1.243 MB / 0.9455 GB, free: 9.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.763e-05/0.8612, allocations: 114.7 kB / 0.9456 GB, free: 9.047 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.8614, allocations: 155.9 kB / 0.9457 GB, free: 8.895 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/0.8645, allocations: 1.753 MB / 0.9474 GB, free: 7.031 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.8645, allocations: 3.938 kB / 0.9474 GB, free: 7.027 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.8647, allocations: 63.98 kB / 0.9475 GB, free: 6.965 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-05/0.8648, allocations: 58.55 kB / 0.9475 GB, free: 6.906 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.8672, allocations: 1.399 MB / 0.9489 GB, free: 5.5 MB / 0.67 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.01035/0.8776, allocations: 7.299 MB / 0.956 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.8793, allocations: 1.055 MB / 0.9571 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.8803, allocations: 0.6906 MB / 0.9577 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.8806, allocations: 110.2 kB / 0.9578 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.8806, allocations: 55.5 kB / 0.9579 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001335/0.882, allocations: 318.5 kB / 0.9582 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=106): time 3.376e-06/0.882, allocations: 0 / 0.9582 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112): time 0.008801/0.8908, allocations: 4.436 MB / 0.9625 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.8909, allocations: 179.3 kB / 0.9627 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.8927, allocations: 1.259 MB / 0.9639 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.8928, allocations: 49.7 kB / 0.964 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.8934, allocations: 0.7007 MB / 0.9647 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/0.8938, allocations: 402.2 kB / 0.9651 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004277/0.8943, allocations: 263.4 kB / 0.9653 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.8945, allocations: 361.9 kB / 0.9656 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008974/0.8954, allocations: 0.527 MB / 0.9662 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.8966, allocations: 0.8592 MB / 0.967 GB, free: 2.23 MB / 0.6856 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.01247/0.9091, allocations: 4.804 MB / 0.9717 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.9091, allocations: 11.94 kB / 0.9717 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002905/0.912, allocations: 1.615 MB / 0.9733 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.912, allocations: 8 kB / 0.9733 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.9121, allocations: 8 kB / 0.9733 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/0.9121, allocations: 16 kB / 0.9733 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.9133, allocations: 293.7 kB / 0.9736 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/0.9134, allocations: 23.92 kB / 0.9736 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.9149, allocations: 115.5 kB / 0.9737 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.915, allocations: 59.97 kB / 0.9738 GB, free: 11.12 MB / 0.7012 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.000779/0.9158, allocations: 425.3 kB / 0.9742 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.9162, allocations: 166.1 kB / 0.9743 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.9185, allocations: 1.287 MB / 0.9756 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.9186, allocations: 12 kB / 0.9756 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.9186, allocations: 0 / 0.9756 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001761/0.9203, allocations: 1.248 MB / 0.9768 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00636/0.9267, allocations: 3.758 MB / 0.9805 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.9268, allocations: 12.88 kB / 0.9805 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.928, allocations: 247.6 kB / 0.9808 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.928, allocations: 19.94 kB / 0.9808 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/0.9281, allocations: 39.94 kB / 0.9808 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.671e-05/0.9281, allocations: 19.92 kB / 0.9808 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/0.9281, allocations: 19.94 kB / 0.9808 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/0.9313, allocations: 2.117 MB / 0.9829 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007508/0.932, allocations: 355 kB / 0.9833 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.9323, allocations: 47.86 kB / 0.9833 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.9335, allocations: 97.08 kB / 0.9834 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.9337, allocations: 104.3 kB / 0.9835 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.362e-05/0.9338, allocations: 47.98 kB / 0.9835 GB, free: 0.6641 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001246/0.935, allocations: 0.8529 MB / 0.9844 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.935, allocations: 0 / 0.9844 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001393/0.9364, allocations: 436 kB / 0.9848 GB, free: 15.39 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,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.0005713/0.937, allocations: 243 kB / 0.985 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002734/0.9398, allocations: 1.429 MB / 0.9864 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.9398, allocations: 0 / 0.9864 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.9407, allocations: 0.5526 MB / 0.987 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/0.9448, allocations: 0.9277 MB / 0.9879 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/0.9509, allocations: 4.016 MB / 0.9918 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.9522, allocations: 1.376 MB / 0.9931 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001664/0.9538, allocations: 389.3 kB / 0.9935 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.9543, allocations: 131.4 kB / 0.9936 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.9543, allocations: 3.938 kB / 0.9936 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of Templates: time 0.05604/1.01, allocations: 30.24 MB / 1.023 GB, free: 8.375 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)