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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 196.4 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 96.08 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009825/0.0009826, allocations: 55.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2252, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6035/0.8288, allocations: 220.3 MB / 1.197 GB, free: 6.293 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.8455, allocations: 12.15 MB / 1.209 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.8482, allocations: 64.69 kB / 1.209 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.8504, allocations: 0.7201 MB / 1.21 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.007009/0.8574, allocations: 2.68 MB / 1.213 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003836/0.8613, allocations: 1.274 MB / 1.214 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.007997/0.8693, allocations: 6.066 MB / 1.22 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002801/0.8721, allocations: 1.475 MB / 1.221 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006755/0.8789, allocations: 2.216 MB / 1.223 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.8841, allocations: 1.584 MB / 1.225 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.8854, allocations: 105.3 kB / 1.225 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008701/0.8941, allocations: 2.466 MB / 1.227 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.8959, allocations: 0.6315 MB / 1.228 GB, free: 5.617 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003502/0.8994, allocations: 0.9561 MB / 1.229 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.009389/0.9088, allocations: 3.33 MB / 1.232 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.9089, allocations: 0 / 1.232 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9089, allocations: 1.094 kB / 1.232 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001643/0.909, allocations: 0 / 1.232 GB, free: 3.898 MB / 0.8073 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.008882/0.9179, allocations: 2.272 MB / 1.234 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.918, allocations: 8.734 kB / 1.234 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.9221, allocations: 0.4899 MB / 1.235 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003842/0.9259, allocations: 1.231 MB / 1.236 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.9261, allocations: 117.5 kB / 1.236 GB, free: 1.598 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006866/0.9268, allocations: 150.6 kB / 1.236 GB, free: 1.547 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004895/0.9317, allocations: 1.751 MB / 1.238 GB, free: 0.707 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/0.9318, allocations: 14.91 kB / 1.238 GB, free: 0.6953 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.932, allocations: 59.22 kB / 1.238 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.338e-05/0.9321, allocations: 52.7 kB / 1.238 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.9349, allocations: 1.393 MB / 1.24 GB, free: 168 kB / 0.8073 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.01238/0.9473, allocations: 7.281 MB / 1.247 GB, free: 10.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.9495, allocations: 1.023 MB / 1.248 GB, free: 10.41 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.9508, allocations: 0.6974 MB / 1.248 GB, free: 10.12 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.9511, allocations: 117.7 kB / 1.248 GB, free: 10.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.9512, allocations: 52.12 kB / 1.249 GB, free: 9.965 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00197/0.9532, allocations: 306.5 kB / 1.249 GB, free: 9.824 MB / 0.823 GB Notification: Performance of pre-optimization done (n=106): time 1.065e-05/0.9532, allocations: 0 / 1.249 GB, free: 9.824 MB / 0.823 GB Notification: Performance of matching and sorting (n=112): time 0.01095/0.9642, allocations: 4.285 MB / 1.253 GB, free: 7.441 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.9643, allocations: 176.6 kB / 1.253 GB, free: 7.246 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.9664, allocations: 1.251 MB / 1.254 GB, free: 6.766 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.9666, allocations: 48.83 kB / 1.254 GB, free: 6.719 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006674/0.9673, allocations: 0.6931 MB / 1.255 GB, free: 6.172 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005984/0.9679, allocations: 403.5 kB / 1.256 GB, free: 5.855 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000501/0.9684, allocations: 264.2 kB / 1.256 GB, free: 5.734 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.9686, allocations: 358.6 kB / 1.256 GB, free: 5.406 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009904/0.9696, allocations: 0.5117 MB / 1.257 GB, free: 5.223 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.9709, allocations: 0.8471 MB / 1.257 GB, free: 4.66 MB / 0.823 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.0115/0.9824, allocations: 4.718 MB / 1.262 GB, free: 2.656 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.9824, allocations: 6.75 kB / 1.262 GB, free: 2.652 MB / 0.823 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002829/0.9853, allocations: 1.591 MB / 1.264 GB, free: 1.992 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.9853, allocations: 8 kB / 1.264 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.9853, allocations: 15.55 kB / 1.264 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/0.9854, allocations: 12 kB / 1.264 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.9865, allocations: 292.1 kB / 1.264 GB, free: 1.711 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.269e-05/0.9866, allocations: 22.61 kB / 1.264 GB, free: 1.691 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.9886, allocations: 99.06 kB / 1.264 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.9888, allocations: 62.56 kB / 1.264 GB, free: 1.555 MB / 0.823 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.0009806/0.9898, allocations: 421.9 kB / 1.264 GB, free: 1.168 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/0.9903, allocations: 158.1 kB / 1.265 GB, free: 1.012 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.9928, allocations: 1.28 MB / 1.266 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.9928, allocations: 12 kB / 1.266 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.9929, allocations: 7.938 kB / 1.266 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001571/0.9944, allocations: 1.227 MB / 1.267 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007224/1.002, allocations: 3.732 MB / 1.271 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/1.002, allocations: 12.94 kB / 1.271 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.003, allocations: 251.6 kB / 1.271 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.418e-05/1.003, allocations: 24.53 kB / 1.271 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/1.003, allocations: 39.98 kB / 1.271 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.825e-05/1.003, allocations: 23.94 kB / 1.271 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.003, allocations: 11.94 kB / 1.271 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/1.018, allocations: 8.032 MB / 1.279 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009969/1.02, allocations: 351 kB / 1.279 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/1.02, allocations: 39.94 kB / 1.279 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.021, allocations: 88.56 kB / 1.279 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/1.022, allocations: 108.3 kB / 1.28 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.022, allocations: 52.86 kB / 1.28 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001224/1.023, allocations: 0.8406 MB / 1.28 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.023, allocations: 3.938 kB / 1.28 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002392/1.025, allocations: 0.6328 MB / 1.281 GB, free: 148 kB / 0.8386 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.0006137/1.026, allocations: 226.8 kB / 1.281 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002046/1.028, allocations: 1.216 MB / 1.282 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.028, allocations: 8.188 kB / 1.282 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007675/1.029, allocations: 0.5405 MB / 1.283 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004606/1.033, allocations: 0.8944 MB / 1.284 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/1.04, allocations: 4.62 MB / 1.288 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.041, allocations: 1.413 MB / 1.29 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00186/1.043, allocations: 391.9 kB / 1.29 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/1.043, allocations: 139.3 kB / 1.29 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/1.043, allocations: 0 / 1.29 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of Templates: time 0.053/1.096, allocations: 31.89 MB / 1.321 GB, free: 6.922 MB / 0.8855 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)