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.001616/0.001616, allocations: 103.8 kB / 16.36 MB, free: 6.305 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.00155/0.00155, allocations: 189.3 kB / 17.29 MB, free: 5.875 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001431/0.001431, allocations: 74.09 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2679, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6915/0.9594, allocations: 222.6 MB / 1.002 GB, free: 11.29 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02012/0.9796, allocations: 12.05 MB / 1.014 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.983, allocations: 67.62 kB / 1.014 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.9861, allocations: 0.8538 MB / 1.015 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009136/0.9953, allocations: 2.847 MB / 1.018 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004487/0.9998, allocations: 1.422 MB / 1.019 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007671/1.007, allocations: 4.405 MB / 1.023 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003008/1.011, allocations: 1.7 MB / 1.025 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007006/1.018, allocations: 2.449 MB / 1.027 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/1.021, allocations: 1.559 MB / 1.029 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005726/1.022, allocations: 176 kB / 1.029 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005411/1.028, allocations: 2.167 MB / 1.031 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/1.029, allocations: 0.6973 MB / 1.032 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001801/1.03, allocations: 1.042 MB / 1.033 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005881/1.036, allocations: 3.32 MB / 1.036 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.036, allocations: 0 / 1.036 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/1.036, allocations: 0 / 1.036 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.883e-05/1.036, allocations: 0 / 1.036 GB, free: 8.453 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.004071/1.04, allocations: 2.267 MB / 1.038 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.041, allocations: 8.031 kB / 1.038 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/1.044, allocations: 0.4894 MB / 1.039 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/1.046, allocations: 1.317 MB / 1.04 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.654e-05/1.046, allocations: 110.8 kB / 1.04 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/1.047, allocations: 155.9 kB / 1.04 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/1.05, allocations: 1.756 MB / 1.042 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/1.05, allocations: 7.875 kB / 1.042 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/1.05, allocations: 60 kB / 1.042 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-05/1.05, allocations: 54.55 kB / 1.042 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/1.052, allocations: 1.392 MB / 1.043 GB, free: 0.6094 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.009644/1.062, allocations: 7.268 MB / 1.051 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.064, allocations: 1.023 MB / 1.052 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000941/1.065, allocations: 0.7002 MB / 1.052 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/1.065, allocations: 110.1 kB / 1.052 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/1.065, allocations: 47.56 kB / 1.052 GB, free: 7 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00137/1.066, allocations: 302.8 kB / 1.053 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=106): time 4.198e-06/1.066, allocations: 0 / 1.053 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of matching and sorting (n=112): time 0.008188/1.075, allocations: 4.418 MB / 1.057 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.075, allocations: 175.3 kB / 1.057 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/1.076, allocations: 1.246 MB / 1.058 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.076, allocations: 53.7 kB / 1.058 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/1.077, allocations: 0.693 MB / 1.059 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/1.077, allocations: 406.1 kB / 1.06 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003797/1.078, allocations: 263.4 kB / 1.06 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.078, allocations: 353.9 kB / 1.06 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008297/1.079, allocations: 0.5192 MB / 1.061 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.08, allocations: 0.8663 MB / 1.061 GB, free: 13.45 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.01172/1.091, allocations: 4.78 MB / 1.066 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.092, allocations: 0 / 1.066 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002623/1.094, allocations: 1.62 MB / 1.068 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/1.094, allocations: 8.156 kB / 1.068 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.094, allocations: 12 kB / 1.068 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/1.094, allocations: 16 kB / 1.068 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/1.095, allocations: 291.5 kB / 1.068 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/1.095, allocations: 19.94 kB / 1.068 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.097, allocations: 55.88 kB / 1.068 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/1.097, allocations: 58.11 kB / 1.068 GB, free: 6.434 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.0007629/1.098, allocations: 427 kB / 1.069 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/1.098, allocations: 166.1 kB / 1.069 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/1.1, allocations: 1.283 MB / 1.07 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.1, allocations: 15.94 kB / 1.07 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.1, allocations: 4 kB / 1.07 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/1.102, allocations: 1.241 MB / 1.071 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00609/1.108, allocations: 3.746 MB / 1.075 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.108, allocations: 12 kB / 1.075 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.109, allocations: 259.7 kB / 1.075 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.991e-05/1.109, allocations: 19.94 kB / 1.075 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/1.109, allocations: 36 kB / 1.075 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.546e-05/1.109, allocations: 23.92 kB / 1.075 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.109, allocations: 11.94 kB / 1.075 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/1.112, allocations: 2.226 MB / 1.077 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007792/1.113, allocations: 362.9 kB / 1.078 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/1.113, allocations: 38.5 kB / 1.078 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.114, allocations: 45.06 kB / 1.078 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/1.114, allocations: 104.3 kB / 1.078 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.165e-05/1.115, allocations: 51.97 kB / 1.078 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001164/1.116, allocations: 0.8406 MB / 1.079 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.61e-07/1.116, allocations: 0 / 1.079 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001397/1.117, allocations: 432 kB / 1.079 GB, free: 10.67 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.0005781/1.118, allocations: 238.2 kB / 1.079 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002101/1.12, allocations: 1.259 MB / 1.081 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.12, allocations: 4 kB / 1.081 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/1.121, allocations: 0.5483 MB / 1.081 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/1.125, allocations: 0.9324 MB / 1.082 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005427/1.131, allocations: 3.43 MB / 1.085 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009463/1.132, allocations: 1.368 MB / 1.087 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005948/1.132, allocations: 135.4 kB / 1.087 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of SimCode: time 1.183e-06/1.132, allocations: 0 / 1.087 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.04101/1.173, allocations: 25.22 MB / 1.112 GB, free: 9.699 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)