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.001623/0.001622, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.003029/0.003029, allocations: 192.2 kB / 16.13 MB, free: 6.707 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.598/1.598, allocations: 205.1 MB / 222 MB, free: 4.766 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.754/1.754, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001335/0.001335, allocations: 63.66 kB / 0.6708 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2821, allocations: 114.6 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8016/1.084, allocations: 220.3 MB / 0.9978 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0188/1.103, allocations: 12.15 MB / 1.01 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0046/1.107, allocations: 66.62 kB / 1.01 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003248/1.111, allocations: 0.7127 MB / 1.01 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009582/1.12, allocations: 2.678 MB / 1.013 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004276/1.124, allocations: 1.27 MB / 1.014 GB, free: 204 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009294/1.134, allocations: 6.049 MB / 1.02 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002733/1.137, allocations: 1.47 MB / 1.022 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00765/1.144, allocations: 2.206 MB / 1.024 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004467/1.149, allocations: 1.587 MB / 1.025 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005839/1.149, allocations: 105.8 kB / 1.025 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006316/1.156, allocations: 2.468 MB / 1.028 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001606/1.157, allocations: 0.6261 MB / 1.028 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002642/1.16, allocations: 0.9596 MB / 1.029 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007419/1.167, allocations: 3.326 MB / 1.033 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/1.167, allocations: 3.438 kB / 1.033 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.564e-06/1.167, allocations: 0 / 1.033 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.436e-05/1.168, allocations: 0 / 1.033 GB, free: 7.32 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.004709/1.172, allocations: 2.268 MB / 1.035 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/1.172, allocations: 8.938 kB / 1.035 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/1.176, allocations: 0.4904 MB / 1.035 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/1.178, allocations: 1.238 MB / 1.037 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/1.178, allocations: 113.2 kB / 1.037 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/1.178, allocations: 150.2 kB / 1.037 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/1.181, allocations: 1.758 MB / 1.039 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/1.181, allocations: 11 kB / 1.039 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/1.181, allocations: 60.44 kB / 1.039 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/1.181, allocations: 48.64 kB / 1.039 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/1.184, allocations: 1.393 MB / 1.04 GB, free: 2.547 MB / 0.7481 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.01051/1.194, allocations: 7.283 MB / 1.047 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/1.196, allocations: 1.022 MB / 1.048 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008937/1.197, allocations: 0.6942 MB / 1.049 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/1.197, allocations: 115.4 kB / 1.049 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/1.197, allocations: 50.94 kB / 1.049 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001539/1.198, allocations: 310.1 kB / 1.049 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 4.438e-06/1.198, allocations: 0 / 1.049 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.008342/1.207, allocations: 4.287 MB / 1.053 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/1.207, allocations: 171.2 kB / 1.054 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/1.209, allocations: 1.238 MB / 1.055 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/1.209, allocations: 53.7 kB / 1.055 GB, free: 6.008 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/1.209, allocations: 0.7 MB / 1.056 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/1.21, allocations: 404.4 kB / 1.056 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/1.21, allocations: 263.3 kB / 1.056 GB, free: 4.652 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.21, allocations: 353.9 kB / 1.057 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008034/1.211, allocations: 0.5192 MB / 1.057 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.212, allocations: 0.8391 MB / 1.058 GB, free: 2.816 MB / 0.7637 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.01179/1.224, allocations: 4.729 MB / 1.062 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/1.224, allocations: 8 kB / 1.062 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003245/1.227, allocations: 1.588 MB / 1.064 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.227, allocations: 8 kB / 1.064 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.227, allocations: 8 kB / 1.064 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/1.227, allocations: 16.75 kB / 1.064 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.229, allocations: 295.5 kB / 1.064 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.799e-05/1.229, allocations: 23.86 kB / 1.064 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.23, allocations: 96.39 kB / 1.064 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.23, allocations: 59.98 kB / 1.065 GB, free: 11.83 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.0009477/1.231, allocations: 424.3 kB / 1.065 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/1.232, allocations: 158.1 kB / 1.065 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/1.234, allocations: 1.283 MB / 1.066 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.234, allocations: 15.94 kB / 1.066 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.234, allocations: 11.94 kB / 1.066 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001643/1.236, allocations: 1.225 MB / 1.068 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007244/1.243, allocations: 3.735 MB / 1.071 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/1.243, allocations: 8 kB / 1.071 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/1.244, allocations: 251.7 kB / 1.071 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.152e-05/1.245, allocations: 16.66 kB / 1.071 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.75e-05/1.245, allocations: 39.98 kB / 1.071 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.972e-05/1.245, allocations: 23.94 kB / 1.072 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.245, allocations: 19.88 kB / 1.072 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/1.248, allocations: 2.195 MB / 1.074 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009396/1.249, allocations: 358.9 kB / 1.074 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003953/1.249, allocations: 39.98 kB / 1.074 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/1.251, allocations: 87.06 kB / 1.074 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.251, allocations: 100.3 kB / 1.074 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.251, allocations: 51.98 kB / 1.074 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001484/1.253, allocations: 0.8484 MB / 1.075 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/1.253, allocations: 0 / 1.075 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00187/1.255, allocations: 428 kB / 1.076 GB, free: 120 kB / 0.7794 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.0006444/1.255, allocations: 242.9 kB / 1.076 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002283/1.257, allocations: 1.208 MB / 1.077 GB, free: 14.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.257, allocations: 4.109 kB / 1.077 GB, free: 14.67 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008202/1.258, allocations: 0.5523 MB / 1.077 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005507/1.264, allocations: 0.8935 MB / 1.078 GB, free: 13.25 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007956/1.272, allocations: 3.971 MB / 1.082 GB, free: 9.117 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/1.274, allocations: 1.372 MB / 1.084 GB, free: 7.711 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002453/1.276, allocations: 381.2 kB / 1.084 GB, free: 7.332 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007519/1.277, allocations: 131.4 kB / 1.084 GB, free: 7.203 MB / 0.795 GB Notification: Performance of SimCode: time 1.233e-06/1.277, allocations: 0 / 1.084 GB, free: 7.203 MB / 0.795 GB Notification: Performance of Templates: time 0.0531/1.33, allocations: 28.88 MB / 1.112 GB, free: 10.71 MB / 0.8262 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)